Skip to contentSkip to conversation

pptp pom patch rules

DISCUSSION Gudmundur Arnljotsson 1 participant 1 message Mar 18, 2005

lore
Share & tools
lore
#0 lore raw

Hi list

I have successfully recompiled my kernel 2.4.21 with newest pptp pom patch and complied and installed newest iptables so I can masquerade multiple outgoing pptp connection. My old kernel only supported 1 connection at the time

My system is SuSE Standard server 8 with 2 nic

For allowing incoming pptp I have this rules in my SuSEfirewall2-custom file

iptables -A INPUT -i ppp+ -j ACCEPT
iptables -A FORWARD -i ppp+ -j ACCEPT
iptables -A FORWARD -o ppp+ -j ACCEPT

So the question is what rules do I need for the new functionality and where should I put them (you know SuSE has it own ways of doing things making it very hard to use and apply general Linux documentations)

If it is to any help, here are my firewall settings FW_DEV_EXT="eth1 ppp+"
FW_DEV_INT="eth0"
FW_DEV_DMZ=""

FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_DEV="$FW_DEV_EXT"

FW_MASQ_NETS="192.168.50.0/24,xxx.xxx.xxx.xxx/24"
FW_PROTECT_FROM_INTERNAL="no"
FW_AUTOPROTECT_SERVICES="yes"
FW_SERVICES_EXT_TCP="1723 imaps smtp"
FW_SERVICES_EXT_UDP=""
FW_SERVICES_EXT_IP="gre"
FW_SERVICES_INT_TCP="1723"
FW_SERVICES_INT_UDP=""
FW_SERVICES_INT_IP="gre"
FW_TRUSTED_NETS=""
FW_ALLOW_INCOMING_HIGHPORTS_TCP="yes"
FW_ALLOW_INCOMING_HIGHPORTS_UDP="yes"
FW_SERVICE_AUTODETECT="no"
FW_SERVICE_DNS="yes"
FW_SERVICE_DHCLIENT="auto"
FW_SERVICE_DHCPD="yes"
FW_SERVICE_SQUID="yes"
FW_SERVICE_SAMBA="yes"
FW_FORWARD=""
FW_FORWARD_MASQ=""
FW_REDIRECT="192.168.50.0/255.255.255.0,0/0,tcp,80,8080 \ 192.168.50.0/255.255.255.0,0/0,tcp,21,2121"

Signature · 3 lines
regards

Gudmundur Arnljotsson