LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-04-2005, 09:42 PM   #1
xowl
Member
 
Registered: Jan 2005
Distribution: Slackware current (and others)
Posts: 188

Rep: Reputation: 30
Gateway set up


I have a desktop and a Laptop, I have a cross cable between them and the net is OK (ping and such) I connect to the net by using modem (ppp0) I want my desktop to serve as a gateway for my laptop but it didn't worked:

Does any one have or knows a *very* good tutorial to do this ??


Thanx a lot
LinX
 
Old 02-04-2005, 10:20 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
did you search LQ before posting?? this question gets asked all the time...

http://www.google.com/search?hl=en&l...rg&btnG=Search

http://www.google.com/search?hl=en&l...rg&btnG=Search

what you need (basically) is a simple iptables script... here's a place where you can find lots of links to iptables tutorials and howtos:

http://www.linuxguruz.com/iptables/

once you have your iptables script properly set-up, just put it in /etc/rc.d/rc.firewall and make it executable...


Last edited by win32sux; 02-04-2005 at 10:22 PM.
 
  


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
dhcp does not set gateway pantoniades Linux - Networking 4 02-14-2006 05:26 AM
lm10.0 gateway is set but when I reboot I have to set the gateway rharvey32 Mandriva 8 02-13-2006 01:35 PM
How can I set Gateway? gubak Linux - Networking 29 07-20-2004 04:43 AM
How do I set up an Internet Gateway??? Kelv1979 Linux - Networking 7 08-21-2003 03:00 AM
trying to set up a gateway annehoog Linux - Newbie 6 05-12-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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