Fedora Linux Support Community & Resources Center
Old 4th March 2008, 01:05 PM
tamilnandhu Offline
Registered User
Join Date: Mar 2008
Posts: 2
Iptables configuration issue..


I am running Fedora Core6 as a gateway for my LAN with two NIC

the setup is,

Static IP[xx.xx.xx.xx]
FC 6
LAN Clients[] and one server has as IP and as gateway

I port forwarded my server through the static IP with Iptables as,

#iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j DNAT --to
#iptables -A FORWARD -p tcp -d --dport 8080 -j ACCEPT

But it doesnt satisfy my full need. I can acessmy server from outside [ i mean internet] as http://xx.xx.xx.xx:8080/ .
From LAN i can access through only but i need to access http://xx.xx.xx.xx:8080 from LAN too.

Please give me a solution to achieve this. I searched through net, but not able to find a solution.

So please give me a solution.

Reply With Quote
Old 4th March 2008, 02:02 PM
meowdin Offline
Registered User
Join Date: Feb 2008
Location: HK
Age: 36
Posts: 196
wow , you have a static ip ! what a luxury!

anyway if you type in your browser http://xx.xx.xx.xx:8080 what does it give u?

I think it should direct you to this same machine right?

r u running different service btw http://xx.xx.xx.xx:8080 and ?
Reply With Quote
Old 4th March 2008, 02:33 PM
tamilnandhu Offline
Registered User
Join Date: Mar 2008
Posts: 2

When i access http://xx.xx.xx.xx:8080 from my server, it gives,"the page cannot be displayed". but from internet, i mean, frok outside i can acccess the page.
Reply With Quote
Old 4th March 2008, 02:58 PM
markkuk Offline
Registered User
Join Date: Apr 2005
Location: Finland
Posts: 5,072
See the NAT HOWTO: http://www.iptables.org/documentatio...-HOWTO-10.html
Reply With Quote

configuration, iptables

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem saving IPTables configuration irc0x00 Servers & Networking 3 16th June 2007 08:11 PM
is this iptables configuration enough for a home pc fedoradebut Security and Privacy 7 2nd April 2006 02:34 AM
Easy iptables configuration. aje Using Fedora 8 30th December 2005 12:39 PM
iptables auto-configuration nemesys Servers & Networking 1 20th November 2005 02:41 AM

Current GMT-time: 04:13 (Wednesday, 23-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat