View previous topic :: View next topic |
Author |
Message |
ntrl n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1265982945f47c9b2180f.gif)
Joined: 26 Sep 2004 Posts: 34 Location: SPb, Russia
|
Posted: Sat Dec 01, 2007 11:51 am Post subject: Not typical NAT |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
erik258 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/18778702754589d89edad52.gif)
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Sun Dec 02, 2007 1:45 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|