Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not typical NAT
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ntrl
n00b
n00b


Joined: 26 Sep 2004
Posts: 34
Location: SPb, Russia

PostPosted: Sat Dec 01, 2007 11:51 am    Post subject: Not typical NAT Reply with quote

Hello all!

Please, help me write rules for iptables.

On my LinuxBOX-router 3 interfaces (1 WAN - eth1; 2 LAN - eth0 and eth2).
For eth2 demands full NAT -- here VoIP,

For eth0 demands turn off NAT (except 25 and 110 ports - for mail), and redirect
80 port to 3128 (for transparent proxy) on local squid. -- here bad users :)

All night read "iptables tutorial", but n'a pas compris :(

Thanx.

PS. sorry for bad english
_________________
--
WBR
Back to top
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Sun Dec 02, 2007 1:45 am    Post subject: Reply with quote

Friend,
You should expain the subnets on each interface and where the internet connection is.

You should explain the ports that are to be open on each interface.

We can the start examining where Network Address Translation needs to occur. To Firewall a subnet and to NAT that subnet are two different things.
_________________
Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum