LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-03-2003, 06:01 AM   #1
Hegemon
Member
 
Registered: Jan 2002
Location: Australia
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
DirectPlay, Linux Gateway, Firewall, oh my


I am currently using a linux slackware box as a gateway to share my adsl internet connection with the other computers in my house. I currently have the following in my rc.local

ipchains -P forward DENY
ipchains -A forward -s 192.168.1.0/255.255.255.0 -j MASQ

This has mostly been working well except for a few problems. The main one is for directplay based games such as jdoom and total annihilation (probally the more main stream ones also), I cannot connect to any other servers, I might possibly be able to start my own server on the linux box (under wine), however this is quite anoying and not to many games will run like that.

Also i hear that ip tables is better, what would the equivilent of the one above be in iptables. Also what about security issues, what should i have setup. I am currently running a webserver and a ssh server.
 
Old 03-03-2003, 07:52 AM   #2
acid2000
Member
 
Registered: Nov 2001
Location: Exeter, UK
Distribution: Gentoo 1.4
Posts: 243

Rep: Reputation: 30
iptables is better, look on google for the answers. What distro are you using?
 
Old 03-03-2003, 01:06 PM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
You need some more masq helper modules.. eg

root@Box3~# lsmod
Module Size Used by
3c509 5996 2
ip_masq_pptp 5924 0
ip_masq_icq 13432 0 (unused)
ip_masq_ftp 3708 0
ip_masq_irc 2168 0 (unused)
ip_masq_quake 1448 0 (unused)

Have a read of this tutorial and then a look at Firestarter and Shorewall packages.. for iptables.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Linux as a firewall/gateway Dovid Linux - Networking 4 04-21-2005 09:13 PM
Setup linux gateway + firewall (redhat 9.0) mirt Linux - Networking 4 04-27-2004 01:46 AM
Linux gateway/firewall problem dal-san Linux - Networking 3 10-31-2003 03:53 AM
Linux as firewall / gateway + using ADSL Gianni Linux - Security 3 07-22-2003 11:05 AM
linux gateway/firewall with MASQUERADE willix Linux - Networking 2 08-06-2002 05:37 PM


All times are GMT -5. The time now is 02:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration