Routing problem

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
zmain
OpenVpn Newbie
Posts: 2
Joined: Fri Dec 23, 2011 10:35 am

Routing problem

Post by zmain » Fri Dec 23, 2011 10:48 am

Hello guys, i have subscibes a Seedbox service which enables VPN Connetions.
I want to use my VPN with a download station called Popcorn Hour A200.
I have succeded in installing OpenVPN 2.2 on A200 and running it (a tunnel named Tun0 is added).
My problem is to make all trafic flows towards the tunnel Tun0
I saw in some forums that i have to put instructions in routing table but i am not used with than.
can any body help please ?


Below the result of route command:
PopcornHour[root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.1 10.8.0.165 255.255.255.255 UGH 0 0 0 tun0
10.8.0.165 * 255.255.255.255 UH 0 0 0 tun0
144-224-31-176. 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 10.8.0.165 128.0.0.0 UG 0 0 0 tun0
128.0.0.0 10.8.0.165 128.0.0.0 UG 0 0 0 tun0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Routing problem

Post by maikcat » Fri Dec 23, 2011 12:06 pm

is your openvpn provider aware of this?

if he doesnt offer this ,it simply wont work..


Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

zmain
OpenVpn Newbie
Posts: 2
Joined: Fri Dec 23, 2011 10:35 am

Re: Routing problem

Post by zmain » Fri Dec 23, 2011 12:32 pm

yes Seedbox if offering OpenVPN service. In fact when i add static route for example to www.google.fr, i succeed in performing a ping through tun0.

my point i that i need to get all trafic go through tun0, but i am not confortable whith the usa of linux/unix commands such as route, iproute....

Cheers

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: Routing problem

Post by Mimiko » Sun Dec 25, 2011 11:12 am

In you client's config file add

Code: Select all

redirect-gateway def1

Post Reply