Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-25-2004, 12:05 PM   #1
LQ Newbie
Registered: Aug 2004
Location: Boise, ID
Distribution: RH9
Posts: 15

Rep: Reputation: 0
IPTABLES NAT Gateway, No Access from the inside?

I have the following setup:

Internal--->Gateway (RH9 Nat)---->Universe

I can...

access the universe from my internal machine
access the univers from my gateway machine
access my gateway machine from the universe (SSH, FTP, HTTP)
get an IP address for my internal machine from my Gateway machine

I cannot...

access the Gateway machine from the internal machine (SSH, HTTP, FTP) (using internal ip and external ip)
access (mount) shares from my internal machine on my gateway machine
ping from my internal machine to the gateway (not sure if it should, think my F/W drops icmp)

Internal=Windows XP Pro machine

Gateway= RH9 with IPTABLES (sorry, first post, can't link, add h t t p to the front) (IPTABLES -L output) (Script that is run at bootup to setup nat and firewall rules)

Apache and SSH (not sure about ftp) are listening on both interfaces.

I would like to be able to access HTTP, SSH, and FTP from both sides of the network, and have tried (unsucessfully) many time to edit my script. Any ideas?

Old 08-27-2004, 02:12 PM   #2
LQ Newbie
Registered: Aug 2004
Location: seatle, wa
Posts: 5

Rep: Reputation: 0
What do your iptables rules look like?

Old 08-27-2004, 03:46 PM   #3
LQ Newbie
Registered: Aug 2004
Location: Boise, ID
Distribution: RH9
Posts: 15

Original Poster
Rep: Reputation: 0
I found the problem. During my rc.firewall script, I had not changed my network settings. It was enough for nat, but not to connect to local stuff.


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
iptables inside client to inside host with outside DNS or IP - Help! linuxhelp2 Linux - Networking 1 10-15-2005 06:19 AM
IPTABLES How to access to web server on gateway from LAN? kozaki Linux - Networking 4 08-26-2005 11:27 AM
NAT/Gateway setup cflyguy Linux - Networking 3 08-11-2005 11:47 PM
Can IPCop do inside,outside NAT? chort Linux - Networking 0 07-01-2003 06:25 PM
proxy server thru nat gateway. tanmay_79 Linux - General 1 09-10-2001 07:45 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:38 AM.

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