LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-20-2003, 10:41 AM   #1
seth
LQ Newbie
 
Registered: Oct 2002
Posts: 13

Rep: Reputation: 0
iptables fwding for internet sharing help


thank you to all that helped.

Last edited by seth; 08-20-2003 at 12:17 PM.
 
Old 08-20-2003, 11:03 AM   #2
Iturbide
Member
 
Registered: Aug 2003
Location: The Hague, The Netherlands
Distribution: Mandrake 9something, Gentoo
Posts: 49

Rep: Reputation: 15
Quick and dirty:

Save this as a text file, and make it executable (chmod +x). Test it by running it as ./filename and see if it works. Park it somewhere. Run automatically by calling it from the end of /etc/rc.local. Just add a line that says "/someparkedplace/filename-of-script". Yes, it could be put somewhere in the /etc/rc3.d directory structure but this is quicker.
 
Old 08-20-2003, 11:12 AM   #3
seth
LQ Newbie
 
Registered: Oct 2002
Posts: 13

Original Poster
Rep: Reputation: 0
k that makes perfect sense.. do you think it will work though? the script that is.
 
Old 08-20-2003, 11:29 AM   #4
Iturbide
Member
 
Registered: Aug 2003
Location: The Hague, The Netherlands
Distribution: Mandrake 9something, Gentoo
Posts: 49

Rep: Reputation: 15
Honestly, I dunno. Iptables is not something I'm very good at. I always point questions like this to http://easyfwgen.morizot.net/ where you can construct your own, which has always worked very well for me.
 
  


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
Problems with iptables not allowing internet sharing. ryedunn Linux - Networking 19 02-10-2005 07:23 PM
Internet Sharing with iptables? can it be done? sitmex Linux - Networking 3 03-09-2004 04:25 PM
Sharing internet connection with iptables chatmanpk Linux - Networking 2 09-27-2003 05:30 PM
sharing internet through eth0 to sl0, iptables wont work Oxagast Linux - Networking 2 08-11-2003 07:36 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 11:20 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