LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-12-2001, 07:42 PM   #1
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
iptables /ipchains


Trying to change over to iptables,

I can load iptables and it seems to be working, but it is not masking the internal ip address.

iptables -P FORWARD DROP
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

a look at trafshow shows the masked clients ip address and the destination address. but nothing is making it back to the client. I am not at all familiar with iptables, but I need to do some port forwarding and I cannot get ipmasqadm to work with my 2.4.2-2 kernel.

Anybody doing port forwarding on this kernal with ipchains?
 
Old 08-15-2001, 10:59 AM   #2
Phucen ey
LQ Newbie
 
Registered: Aug 2001
Posts: 5

Rep: Reputation: 0
You might want to set the FORWARD policy to ACCEPT. I was having the same problem with DROP set. I still haven't figured out how to get it working with DROP >:-(

I hope this helps

FnA
 
Old 08-15-2001, 01:09 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Original Poster
Rep: Reputation: 58
Thanks, I will try that when I get back home. I had to go to work for a few weeks.
 
  


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
IPCHAINS to IPTABLES slinkyredfoot Linux - Networking 2 05-24-2004 05:33 AM
ipchains and iptables both? puzz_1 Linux - General 7 05-29-2003 04:07 PM
ipchains ---> iptables jetfreggel Linux - Networking 2 11-10-2002 03:05 PM
IPCHAINS vs. IPTABLES sancho5 Linux - Networking 5 08-26-2001 08:01 PM
Ipchains vs iptables Vetle Linux - Security 1 08-22-2001 09:20 AM

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

All times are GMT -5. The time now is 12:39 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