LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 07-20-2004, 05:50 AM   #1
trubi
LQ Newbie
 
Registered: Jan 2003
Distribution: RedHat 7.3 (Valhalla)
Posts: 25

Rep: Reputation: 15
Susefirewall2 Nat Problem / nat 1:1


Hi to all

I need some help about SuSEfirewall2:
Here is my scenario:


Internet
|
|
|10.36.2.0
|
|10.36.2.20
SuSEfirewall
|192.168.111.8
|
|
|192.168.111.0
|
Lan---Webserver (part of my lan) IP 192.168.111.9


My webserver has an internal IP 192.168.111.9,
My firewall has 10.36.2.20 (EXT) and 192.168.111.8(INT)

I need to translate my webserver to go to EXT IP 10.36.2.21

and backwards

everything which comes to 10.36.2.21 to go to 192.168.111.9 (webserver)

NAT 1 to 1
because my www.mywebserver.com goes to 10.36.2.21 from the upper network


but I did not get it from the docs I read (SuSEfirewall2), maybe I'm missing something ...

I do not want to use DMZ and if I use

FW_FORWARD_MASQ="0/0,192.168.111.9,tcp,80""

it only REDIRECTS traffic which comes TO THE FIREWALL and i can't do www.mywebserver.com BECAUSE THE FIREWALL has another IP 10.36.2.20 and I need the traffic which comes to 10.36.2.21 for my webserver.



I think I was detailed enough.
Thanks in advance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NAT problem akmon Linux - Networking 1 11-10-2005 11:00 AM
NAT problem Baco Linux - Networking 7 01-28-2005 03:11 PM
I configure NAT and use "services ..." to save it but when I reboot there is no nat bruack Linux - Software 4 09-01-2004 02:38 AM
What's the difference between Linux-NAT and Sygate-NAT? yuzuohong Linux - Networking 0 08-07-2002 04:07 AM
RH 7.3 NAT problem guanyu Linux - Networking 13 07-02-2002 05:52 AM


All times are GMT -5. The time now is 10:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration