Review your favorite Linux distribution.
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-21-2005, 08:36 PM   #1
LQ Newbie
Registered: Jun 2005
Location: India
Distribution: RH SUSE FEDORA
Posts: 19

Rep: Reputation: 0
Packet and Port forwarding


i am facing difficulty in understanding packet forwarding and port forwarding concepts. kindly some help me in understanding them.

Thankyou for your time
Old 08-21-2005, 11:43 PM   #2
LQ Newbie
Registered: Aug 2005
Posts: 9

Rep: Reputation: 0
So am I,I do know that forwarding has to be enabled in the kernel.
I did get it to work with iptables DNAT,though its a bit cryptic.I depends on what you want to forward to what.
This is for redhat.

to turn it on--
# Enable packet forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward

to check if its on---
cat /proc/sys/net/ipv4/ip_forward


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 port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
packet forwarding? one.eleven Linux - Networking 19 11-08-2006 03:35 AM
packet fragmentation in packet forwarding code cranium2004 Linux - Networking 0 05-16-2005 04:05 AM
How to enable packet forwarding davidho3 Linux - Networking 2 10-12-2004 10:45 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:35 PM.

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