From: Damphyr <damphyr@freemail.gr>
To: netfilter@lists.netfilter.org
Subject: Problems with pppoe and nat
Date: Wed, 09 Apr 2003 22:01:01 +0200 [thread overview]
Message-ID: <3E947BFD.5050408@freemail.gr> (raw)
I am having problems setting up NAT for my home LAN.
I get the following:
frigorifero root # iptables -v -t nat -A POSTROUTING -o ppp0 -j
MASQUERADE
MASQUERADE all opt -- in * out ppp0 0.0.0.0/0 -> 0.0.0.0/0
iptables: Invalid argument
ifconfig gives me:
eth0 Link encap:Ethernet HWaddr 00:E0:29:09:C0:03
inet addr:192.168.1.254 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3030 errors:0 dropped:0 overruns:0 frame:0
TX packets:2349 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:225218 (219.9 Kb) TX bytes:461036 (450.2 Kb)
Interrupt:10 Base address:0xe400
eth1 Link encap:Ethernet HWaddr 00:C0:DF:0E:6D:87
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:175 errors:0 dropped:0 overruns:0 frame:0
TX packets:177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:11152 (10.8 Kb) TX bytes:11597 (11.3 Kb)
Interrupt:12 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:217.234.xxx.xxx P-t-P:217.5.xxx.xxx
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:934 (934.0 b) TX bytes:664 (664.0 b)
and iptables says:
frigorifero root # iptables -h
iptables v1.2.7a
My PPP link is a DSL line, I use rp-pppoe and I up it using adsl-start.
Can anyone tell me what am I doing wrong?
Thanks,
V.-
--
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
reply other threads:[~2003-04-09 20:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E947BFD.5050408@freemail.gr \
--to=damphyr@freemail.gr \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox