Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "George Vieira" <georgev@citadelcomputer.com.au>
To: Bissio <bissio2000@yahoo.it>, netfilter@lists.netfilter.org
Subject: RE: Source IP ADDRESS
Date: Sat, 5 Jul 2003 12:53:37 +1000	[thread overview]
Message-ID: <FDEMKKNJDLAJDPNDPCDDKEAINFAA.georgev@citadelcomputer.com.au> (raw)
In-Reply-To: <20030704162814.28056.qmail@web41504.mail.yahoo.com>

Because the software your using is telling the server your connected to what
your IP is. Much like FTP does and ICQ etc..etc.. which is why special
connection tracking modules are required for those services.

-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Bissio
Sent: Saturday, July 05, 2003 2:28 AM
To: netfilter@lists.netfilter.org
Subject: Source IP ADDRESS


Hi all,

I've a problem with masq... sometimes when i connect
to pubblic chat or other web services from my lan, i
see my source ip address (private network) listed. I
would see my pubblic ip address listed... i use this
rule:

iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o
eth1 -j SNAT --to public.ip.address

and in FORWARD rule:

iptables -A FORWARD -p tcp -i eth0 -o eth1 -s
192.168.0.0/24 --dport 1:1023 -j ACCEPT

iptables -A FORWARD -p tcp -i eth1 -o eth0 -d
192.168.0.0/24 --dport 1024:65535 ! --syn -j ACCEPT

Why my private ip addres (192.168.0.10) is listed
instead my public address???

Thanks
Bissio


______________________________________________________________________
Yahoo! Mail: 6MB di spazio gratuito, 30MB per i tuoi allegati, l'antivirus,
il filtro Anti-spam
http://it.yahoo.com/mail_it/foot/?http://it.mail.yahoo.com/




  reply	other threads:[~2003-07-05  2:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-04 16:28 Source IP ADDRESS Bissio
2003-07-05  2:53 ` George Vieira [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-04  7:48 Source IP address Bissio
2003-05-13 19:29 Source IP Address mariano

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=FDEMKKNJDLAJDPNDPCDDKEAINFAA.georgev@citadelcomputer.com.au \
    --to=georgev@citadelcomputer.com.au \
    --cc=bissio2000@yahoo.it \
    --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