Mailinglist Archive: opensuse-security (195 mails)

< Previous Next >
PPTP VPN Firewall Settings
I'm using the SuSE Firewall 2.0 script to set my firewall. However, I still need to manual add the following IPchains to be able to reach the VPN from my
clients
behind the firewall.

ipchains -I input -j ACCEPT -p 17 -s [vpn server ip address] -d [my external IP] -i eth1
ipchains -I forward -j MASQ -p 47 -s 192.168.0.1/32 -d [vpn server IP] -i eth1
ipchains -I output -j ACCEPT -p 47 -s [my external IP] -d [vpn server IP] -i eth1
ipchains -I input -j ACCEPT -p 47 -s [vpn server IP] -d [my external IP] -i eth1

Is there a way to configure the firewall.rc.config file to take care of this from within the script?

Thanks for your help.

DREW.



< Previous Next >
This Thread
  • No further messages