hello all! i was trying to set up a openvpn server and client . i've successfully setup the server but i think there's a problem with the iptables rules.
i followed the guide mentioned here
http://fedoraproject.org/wiki/Openvpn which states that for the firewall configuration
The following should work (assuming an outside interface is eth1 and an inside interface is eth0):
iptables -A INPUT -i eth1 -p udp --dport 1194 -j ACCEPT
iptables -A INPUT -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -A FORWARD -i eth0 -o tun+ -j ACCEPT
iptables -A FORWARD -i eth1 -o tun+ -m state --state ESTABLISHED,RELATED -j ACCEPT
in my case i have a ethernet adaptor named p2p1 connected to the router and the tun interface is named tun0 . i am a little confused about my outside interface and the inside interface.
but in my case i don't have any inside interface. all i have is p2p1 and tun0 .
any help? thanx