Rainman_34 Posted August 7, 2017 Posted August 7, 2017 I have openvpn installed on my lan turtle and it connects to the VPN. However due to firewall rules it won't connect to lanturtle.com to install modules if I am connected to the VPN server. Also when connected to the VPN server the lan turtle won't let me ping anything. I get a response of ping: sendto: Operation not permitted I know this is an iptables issue as everything works when the lan turtle is not connected to the VPN server and all other clients work with no issues on the VPN server. I have tried the following iptables rules and still no success iptables -t nat -I POSTROUTING 1 -o tun0 -j MASQUERADE iptables -I FORWARD 1 -i tun0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -I FORWARD 1 -i eth1 -o tun0 -j ACCEPT iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE iptables -A INPUT -i eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A INPUT -i tun0 -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -j ACCEPT Quote
Rainman_34 Posted August 9, 2017 Author Posted August 9, 2017 So my inpatience kicked in. Darren does a great video on how to do this with openvpn access server and shows it working. Thats where I stipped watching. If you watch the last three minutes or so he discusses changes that need made on the turtle which makes this work. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.