OpenVPN and iptables

From: nkrall (nkrall_at_reflex.at)
Date: 01/28/04


Date: Wed, 28 Jan 2004 20:25:09 GMT

Hi everbody!

I have successfully installe OpenVPN. BUT:
I have set my FORWARD policy to DROP and set up masquerading. When I
issue the folloing iptables command I cannot get into the internet.

iptables -A FORWARD -i tap+ -j ACCEPT

but issuing

iptables -A FORWARD -p udp -j ACCEPT
iptables -A FORWARD -p tcp -j ACCEPT

works. Senseless of course but i see whether the masquerading works.
Somehow the firewall does not know what to do with tap+. I have also
already tried tap0 instead of +.

I do not know what I have done wring!
Thanks in advance for your help! I badly need it because I do not know
what to do anymore.

Nikolaus