Mailinglist Archive: opensuse-security (421 mails)
| < Previous | Next > |
Nonworking MASQUERADING with SuSE 7.2
- From: "Adrian Stachowski" <asticinzano@xxxxxx>
- Date: Fri, 29 Jun 2001 06:45:14 +0200
- Message-id: <001101c10056$7a381dd0$42800a0a@one>
Hello Everyone,
I configured SuSE 7.2 to use the recent SuSEfirewall2 with iptables.
My system: 2 NICs
external eth0 : 10.10.127.99 Subnet: 255.255.255.0
external eth1: 10.10.128.99 Subnet: 255.255.0.0
ADSL-Dialup
But no MASQUERADING
As instructed I set
START_FW2
START_PPPOED
to "yes".
my "firewall2.rc.config" is also properly configured (I hope)
-------
FW_DEV_EXT="ppp0"
FW_DEV_INT="eth1"
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_DEV="$FW_DEV_EXT"
FW_MASQ_NETS="10.10.0.0/16,0/0,tcp,80"
---------
One thing is very odd:
even after deactivating SuSEfirewall2, flushing all IPTABLES and setting
them afterwards manually to
---------
iptables -P FORWARD ACCEPT
iptables -A FORWARD -i ppp0 -m state --state NEW,INVALID -j REJECT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
---------
no masquerading.
I'm desperate! What did I wrong?
I configured SuSE 7.2 to use the recent SuSEfirewall2 with iptables.
My system: 2 NICs
external eth0 : 10.10.127.99 Subnet: 255.255.255.0
external eth1: 10.10.128.99 Subnet: 255.255.0.0
ADSL-Dialup
But no MASQUERADING
As instructed I set
START_FW2
START_PPPOED
to "yes".
my "firewall2.rc.config" is also properly configured (I hope)
-------
FW_DEV_EXT="ppp0"
FW_DEV_INT="eth1"
FW_ROUTE="yes"
FW_MASQUERADE="yes"
FW_MASQ_DEV="$FW_DEV_EXT"
FW_MASQ_NETS="10.10.0.0/16,0/0,tcp,80"
---------
One thing is very odd:
even after deactivating SuSEfirewall2, flushing all IPTABLES and setting
them afterwards manually to
---------
iptables -P FORWARD ACCEPT
iptables -A FORWARD -i ppp0 -m state --state NEW,INVALID -j REJECT
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
---------
no masquerading.
I'm desperate! What did I wrong?
| < Previous | Next > |