LinuxQuestions.org
Review your favorite Linux distribution.
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 09-26-2004, 12:33 PM   #1
caps_phisto
Member
 
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Rep: Reputation: 30
Using IPtables to forward an internet connection...


How do I setup my wireless connection to forward out a network connection to my Ethernet port to share on my home windows network? I know it has something to do with IPTABLEs and I think it has something do do with the FOREWARD chain but I don't know how. I am using Fedora Core 2.

Thanks in advance
 
Old 09-26-2004, 01:20 PM   #2
lappen
Member
 
Registered: Aug 2003
Location: Sweden
Posts: 83

Rep: Reputation: 15
# Enable IP-Forwarding.
/bin/echo 1 > /proc/sys/net/ipv4/ip_forward

# Enable MASQUERADING
$IPT -t nat -A POSTROUTING -o $INTERFACE -j MASQUERADE
 
  


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
iptables FORWARD Ipolit Slackware 16 06-09-2005 04:35 PM
iptables forward? Bambi Linux - Security 2 10-02-2003 10:15 AM
Sharing internet connection with iptables chatmanpk Linux - Networking 2 09-27-2003 05:30 PM
iptables FORWARD ArnaudVR Linux - Security 6 07-07-2003 05:05 PM
Internet connection sharing with iptables specialmunky Linux - Newbie 10 10-29-2002 01:10 PM

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

All times are GMT -5. The time now is 09:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration