View previous topic :: View next topic |
Author |
Message |
Shaoken n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Jun 2003 Posts: 65
|
Posted: Sun Jun 15, 2003 5:16 pm Post subject: ip masquerading |
|
|
hello,
my ip masquerading doesn' work. I searched and I searched and I found this very strange stuff :
when I ping from my pc-client to a externe IP, I listen that on the server :
Code: |
tcpdump: listening on eth0
17:36:19.014378 192.168.0.2 > 195.238.2.21: icmp: echo request (DF)
17:36:20.028055 192.168.0.2 > 195.238.2.21: icmp: echo request (DF) |
It's logically but,
Code: |
tcpdump: listening on ppp0
17:36:19.014673 3.0.0.0 > 195.238.2.21: icmp: echo request (DF)
17:36:20.028240 3.0.0.0 > 195.238.2.21: icmp: echo request (DF) |
There, I really don't understand from where come this IP 3.0.0.0 in place to be 192.168.0.2 (ip of my pc-client) ?!?
Anyone has a idea ? Can you help me ?? ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jlg Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/916924824458df6d2031f3.jpg)
Joined: 31 May 2002 Posts: 360 Location: Montreal, CANADA
|
Posted: Mon Jun 16, 2003 3:33 am Post subject: |
|
|
how are you doing your ip masquerading?
I imagine you are using iptables?
show us your code... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zu` l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Mon Jun 16, 2003 6:37 am Post subject: |
|
|
Hi
Just to be sure you're using the correct documentation, I'll glady redirect you to the Linux 2.4 NAT HOWTO. _________________ No growth without resistance.
No action without reaction.
No desire without restraint. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Shaoken n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Jun 2003 Posts: 65
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|