Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables query
@ 2005-03-25  5:37 shardul Adhikari
  2005-03-25  8:54 ` Toby
  0 siblings, 1 reply; 12+ messages in thread
From: shardul Adhikari @ 2005-03-25  5:37 UTC (permalink / raw)
  To: netfilter

Hi list, 
I am relatively new to iptables 

i am trying this 

iptables -A PREROUTING -t nat -i eth0 -d 202.75.112.3 --dport 8080 -j
REDIRECT --to-port 3128 .
Now the problem is it does not get redirected , 
if i remove the -d part , it works just fine 
but i do not want to redirect for any destination , but only if
request comes for a particular destination .
Is there any thing wrong that i am doing , or do i have to use some
different chain or ruleset ,

please help


^ permalink raw reply	[flat|nested] 12+ messages in thread
* state match support in ip6tables
@ 2004-03-11 22:54 marco
  2004-03-11 23:30 ` Alexander Samad
  0 siblings, 1 reply; 12+ messages in thread
From: marco @ 2004-03-11 22:54 UTC (permalink / raw)
  To: netfilter

hi all, i need help with ip6tables and match support

can i use it with vannilla2.4?
where can i get a patch to enable the it (evenif there's one)?

tnx



^ permalink raw reply	[flat|nested] 12+ messages in thread
* IPTables Query
@ 2002-10-23  6:37 harish.k
  2002-10-23  8:00 ` Stewart Thompson
  2002-10-23  9:57 ` Antony Stone
  0 siblings, 2 replies; 12+ messages in thread
From: harish.k @ 2002-10-23  6:37 UTC (permalink / raw)
  To: netfilter

Hello List,

This is my first mail to the Netfilter List. I am a newbie to
IPTables, so please be gentle :-)

I have a Red Hat Linux 7.3 box running iptables-1.2.5-3.
I am using iptables primarily for Source NAT.
The machine has two IP Addresses

eth0      : 172.25.8.130
eth0:0    : 172.25.8.125

I am terribly confused with the OUTPUT chain. I have read from 
the documentation that the OUTPUT chain is used for locally 
generated packets. The machine always uses the IP Add of eth0
for any locally generated packets. How do I configure the OUTPUT
chain such that the machine uses the IP Add 172.25.8.125 when it
requests for specific ports or protocols.
For eg, I want the machine to use the Source IP as 172.25.8.125
whenever it runs a DNS query. How do I go about this?

TIA
Rgds
-- 
---------------------------------------------------------------
Harish K                             <harish.k@lntinfotech.com>
Systems Engineer                            Tel - 91-22-6948065
Don't drink and drive. You might hit a bump and spill your beer
---------------------------------------------------------------


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-03-27 11:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-25  5:37 iptables query shardul Adhikari
2005-03-25  8:54 ` Toby
2005-03-25  9:28   ` shardul Adhikari
2005-03-27 11:14     ` shardul Adhikari
  -- strict thread matches above, loose matches on Subject: below --
2004-03-11 22:54 state match support in ip6tables marco
2004-03-11 23:30 ` Alexander Samad
2004-03-11 23:59   ` marco
2004-03-12  0:08     ` Alexander Samad
     [not found]       ` <1079077823.3130.52.camel@anduril.intranet.cartel-securite. net>
2004-03-12  8:09         ` iptables query Hitesh Ballani
2002-10-23  6:37 IPTables Query harish.k
2002-10-23  8:00 ` Stewart Thompson
2002-10-23  8:07   ` harish.k
2002-10-23 18:26     ` Stewart Thompson
2002-10-23 18:46       ` Antony Stone
2002-10-24  4:11       ` harish.k
2002-10-23  9:57 ` Antony Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox