[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 trouble with openvpn


  • Subject: Re: [Openvpn-users] routing trouble with openvpn
  • From: Ivan Wills <ivan@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 15 Jun 2005 08:41:33 +1000

Nathan Barham wrote:

> I am pushing the server local network 192.168.1.0/24


I can ping the server with 10.8.0.1

from the work network I can from any computer on the network ping
10.8.0.1 but not 10.8.0.6 (my computer) any ideas of what I may be missing?




On the server, is IP forwarding turned on?

echo "1" > /proc/sys/net/ipv4/ip_forward

On the server, are there iptables rules allowing the forwarding?

iptables -A FORWARD -i tun+ -j ACCEPT
iptables -A FORWARD -o tun+ -j ACCEPT

-Nathan


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Thanks Nathan this has cured my routing problem.

Ivan

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