Hi, Sorry am new to OpenVPN.
The problem i am having is that once connected to remote network I can only ping the connected computer, nothing else on the remote network.
Current setup - OpenVPN Access Server on a VPS, remote computer (uBuntu 14.04) auto connecting to VPS openVPN access server. (auto login - set to VPN Gateway) - local computer (windows) connect to VPN and SSH (putty) to remote LAN - I can do anything i like on that computer and of course can ping any other computer on that network through SSH. I can ping the remote VPN (Ubuntu) computer once the VPN is open (local network 192.168.1.0/24 to remote network 10.0.110.0/24) but nothing else on that network. I have enabled ip port forwarding (i think) but have missed something.
Hope you can help. Please remember i am a noob to this sort of setup so will need pretty much step by step on how to get the files you need to help me etc
Cheers,
OpenVPN Access Server Cannot ping remote network
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Jul 27, 2016 10:31 am
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Jul 27, 2016 10:31 am
Re: OpenVPN Access Server Cannot ping remote network
SOLVED
missed 2 lines for iptables
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i tun0 -j ACCEPT
missed 2 lines for iptables
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i tun0 -j ACCEPT