[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] routing problems



Hotmail wrote:

Hi,
It seems to me,  that you have a complicated routing problem,because
network
192.168.1.0/24  will route through default gateway, but you want first them
to be sent through the VPN, on host B.
thx for your answer
i have forgotten to enable the gateway service on host b. without it is impossible to route packtets between interfaces ;)



I guess that you could add routes in each 192.168.1. network computers, something like 192.168.2.0 255.255.255.0 192.168.1.33
my second problem was the default gateway
i don't add this route to every host. instead of that i have added two static routes on the router in the 192.168.1.0 netwok


192.168.2.0   255.255.255.0   192.168.1.33
AND
10.1.0.1      255.255.255.255 192.168.1.33

and now everthing works fine.


thx for the suggestion

manuel

--
Blauensteiner Manuel
ICQ 16130766
mailto:manuel.blauensteiner@xxxxxxxxx



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users