Linux Netfilter discussions
 help / color / mirror / Atom feed
* help!!
@ 2003-07-18 15:22 Tuyo Board Unilago
  0 siblings, 0 replies; 11+ messages in thread
From: Tuyo Board Unilago @ 2003-07-18 15:22 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

Hi, This is probably very basic to all of you guys, but i would apreciate a helping hand.

I have a linux red hat 9.2, 2.4 kernel machine with a cable modem signal with a DHCP ip adress from the cable company

I´m tring to "PROXY" all services to internet : telnet, Kazaa, httpd, etc...

But the more i try, the father my goal seems.

I been reading all the how to´s but no luck.

Any help. ANY. Will be apreciated.

Thanks

Tuyo Isaza



[-- Attachment #2: Type: text/html, Size: 1566 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Help!
@ 2006-06-01 11:53 Stephan Higuti
       [not found] ` <a919cbc70606010501r73a6f23ds5405eeb94a4b1942@mail.gmail.com>
  2006-06-01 12:07 ` Help! Sietse van Zanen
  0 siblings, 2 replies; 11+ messages in thread
From: Stephan Higuti @ 2006-06-01 11:53 UTC (permalink / raw)
  To: netfilter

Hello guys....
I have a question about PREROUTING and POSTROUTING.
I'm making a new firewall script.....
In this script, i put some PREROUTING rules , ex:

####################### Apache ##########################
iptables -t nat -A PREROUTING -d 200.xxx.yyy.zzz -p tcp --dport 80 -j
DNAT --to-destination 192.168.23.7:80

But i need to put some POSTROUTING rules to this?
My situation: My firewall will reply for 4 differents Ip's (reals) ,
one for apache , other for e-mail server, etc............
This PREROUTING rule get a pack that come from internet to a IP "x" ,
and i want that all that incoming to this ip , to be forward to my
internal ip.
So , i think that PREROUTING rules its right... but i dont if i need
to create a POSTROUTING for this.....
Waiting Help....

p.s.:* Sorry for my bad, bad english   =D

Cheers

-- 
---------------------------------------------------------------------
Stephan Higuti
MSN: higutisam@hotmail.com
Email: higuti@fai.com.br
---------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: Help!!!
@ 2005-06-23 12:00 Baake, Matthias
  0 siblings, 0 replies; 11+ messages in thread
From: Baake, Matthias @ 2005-06-23 12:00 UTC (permalink / raw)
  To: radu; +Cc: Netfilter (E-Mail)

hi

maybe your workstation is starting the connections and the packets that you see are just the return packets?

/matthias

> -----Original Message-----
> From: netfilter-bounces@lists.netfilter.org
> [mailto:netfilter-bounces@lists.netfilter.org]On Behalf Of radu
> Sent: Thursday, June 23, 2005 1:51 PM
> To: netfilter@lists.netfilter.org
> Subject: Help!!!
> 
> 
> Hello all,
> 
>       My networck config:
> 
>   Internet -> linux box -> My PC(192.168.50.101)
> 
>   linux box
>   eth0 local 192.168.50.0/24
>   eth1 Internet
>   
>   my iptables config:
> 
> iptables -P FORWARD DROP
> iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 4662 -j 
> DNAT --to 192.168.50.101
> iptables -I FORWARD  -d 192.168.50.101 -p tcp --dport 4662 -j ACCEPT
> iptables -I FORWARD -i eth1 -o eth0 -m state --state 
> ESTABLISHED,RELATED -j ACCEPT
> iptables -I FORWARD -s 192.168.50.101 -j ACCEPT
> iptables -t nat -I POSTROUTING -o eth1 -j MASQUERADE
>   
> why I'm receiving on my PC  packages  with external ip on
> 4690,4544,4581.. ports???
> 
> -- 
> Best regards,
>  Radu                          mailto:radu@adm.utm.md
> 
> 
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Help!!!
@ 2005-06-23 11:50 radu
  2005-06-23 12:14 ` Help!!! /dev/rob0
  2005-06-23 14:35 ` Help!!! Jason Opperisano
  0 siblings, 2 replies; 11+ messages in thread
From: radu @ 2005-06-23 11:50 UTC (permalink / raw)
  To: netfilter

Hello all,

      My networck config:

  Internet -> linux box -> My PC(192.168.50.101)

  linux box
  eth0 local 192.168.50.0/24
  eth1 Internet
  
  my iptables config:

iptables -P FORWARD DROP
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 4662 -j DNAT --to 192.168.50.101
iptables -I FORWARD  -d 192.168.50.101 -p tcp --dport 4662 -j ACCEPT
iptables -I FORWARD -i eth1 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -I FORWARD -s 192.168.50.101 -j ACCEPT
iptables -t nat -I POSTROUTING -o eth1 -j MASQUERADE
  
why I'm receiving on my PC  packages  with external ip on
4690,4544,4581.. ports???

-- 
Best regards,
 Radu                          mailto:radu@adm.utm.md



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Help!
@ 2004-03-30  1:15 btjiang
  0 siblings, 0 replies; 11+ messages in thread
From: btjiang @ 2004-03-30  1:15 UTC (permalink / raw)
  To: netfilter

Hello,
     I do not understand some things about netfilter.There are two hash table in NAT(bysource and byipsproto).What are they used for?It's just for fast check? Please help me!
                                 Lucky!
                                              
charlie




^ permalink raw reply	[flat|nested] 11+ messages in thread
* Help!!!
@ 2002-09-06 14:58 Bharat (Hotmail Mithibaiguy)
  0 siblings, 0 replies; 11+ messages in thread
From: Bharat (Hotmail Mithibaiguy) @ 2002-09-06 14:58 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

Hi,

Your help on iptables for blocking msn was pretty useful but the way u mentioned that u will be writing additional scripts to to make the rules permanent after linux is booted. 

I have successfully blocked msn but the rule just stays till i reboot the box or restart the iptable services.

Would be really obliged if u could help me on this to help me make the rules permanent



Thanks in advance

Bharat 


[-- Attachment #2: Type: text/html, Size: 776 bytes --]

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

end of thread, other threads:[~2006-06-01 12:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-18 15:22 help!! Tuyo Board Unilago
  -- strict thread matches above, loose matches on Subject: below --
2006-06-01 11:53 Help! Stephan Higuti
     [not found] ` <a919cbc70606010501r73a6f23ds5405eeb94a4b1942@mail.gmail.com>
2006-06-01 12:05   ` Help! Stephan Higuti
2006-06-01 12:07 ` Help! Sietse van Zanen
2006-06-01 12:34   ` Help! Stephan Higuti
2005-06-23 12:00 Help!!! Baake, Matthias
2005-06-23 11:50 Help!!! radu
2005-06-23 12:14 ` Help!!! /dev/rob0
2005-06-23 14:35 ` Help!!! Jason Opperisano
2004-03-30  1:15 Help! btjiang
2002-09-06 14:58 Help!!! Bharat (Hotmail Mithibaiguy)

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