LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-22-2010, 06:29 AM   #1
sangprabv
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
[HELP]IPTables PREROUTING Rules


Hi,
Sorry for this basic question. I have 1 ethernet with this setting:
eth0 192.168.1.1
eth0:0 192.168.1.2

I assign HTTP Adapter to listen on 192.168.1.2 1111
I can telnet locally to that interface. But when I try from other host, it can't. There is no firewall between HTTP Adapter and other hosts. Many thanks for any reply. I guess this is about PREROUTING but I don't know the command.
 
Old 05-22-2010, 06:34 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Code:
iptables -vnL
iptables -t nat -vnL
 
Old 05-22-2010, 08:16 PM   #3
SuperJediWombat!
Member
 
Registered: Apr 2009
Location: Perth, Australia
Distribution: Ubuntu/CentOS
Posts: 208

Rep: Reputation: 51
Run these and post the output:
Code:
ifconfig
iptables-save
ip route
 
  


Reply



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 PREROUTING on all hosts but a couple paziulek Linux - Security 4 06-26-2009 09:27 AM
IPTables Prerouting Question ALInux Linux - Networking 3 06-11-2009 01:29 PM
IPTABLES prerouting - works sometimes czezz Linux - Networking 1 02-23-2009 06:00 AM
iptables PREROUTING chain not working for me illscience Linux - Security 8 01-13-2009 03:54 PM
Iptables+prerouting niranjan_mr Linux - Networking 1 04-19-2005 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration