Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 30 Jul 2014, 15:51
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Use puppy as a firewall + gateway/bridge?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Anna Merikin

Joined: 20 Jun 2005
Posts: 7

PostPosted: Mon 20 Jun 2005, 23:51    Post subject:  Use puppy as a firewall + gateway/bridge?  

I was just playing with the puppy a few minutes ago, and ran across a script to configure firewalling (/tmp/rc.firewall) and in the comments there appears to be an option to use puppy as a firewall plus gateway/bridge -- a router with three NICs, one connected to the DSL modem for internet sharing, one out for internet sharing and the third bridged and promiscuous on another subnet allowing filesharing and other functions as well.

Is this so? Can someone give me a clue on what software needs to be installed (if any) and a point in the right direction in configuring morizot or whatever program this file belongs to?
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Tue 21 Jun 2005, 00:59    Post subject:  

the "morizot" firewall in Puppy is a slightly modified version of a firewall i created using the program here:

http://easyfwgen.morizot.net/gen/

you can build a custom firewall on that website
for example, it has an option for:
Single System or Private Network Gateway?
Single System
Gateway/Firewall

the script produced needs to be slightly modified to work properly with Puppy

you need to change the path to iptables

you should set SYSCTL="" because Puppy does not have sysctl

i don't think tcp_syncookies is enabled in the kernel ... you will get an error message if you do not change the line that tries to set it (but the rest of the script will work ok)

the latest version of the firewall uses something that Puppy does not have, and will give you an error message ... i do not know if the latest version of the firewall works properly in Puppy or not ... the older version that Puppy has seems to work ok (there are older versions of the firewall generator available on the website)

i think all you need to setup a firewall/gateway is a set of rules for iptables ... if you know what you are doing, you can write them yourself, or there are many scripts available
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Tue 21 Jun 2005, 02:52    Post subject:  

To use as a bridge you will also need to compile and install bridge-utils. And grab the additional modules that have the bridge module as well as I don't think this contained in the standard supplied modules. Another thing too, firewalling packets that go between the brigded interfaces is quite a complex subject and requires additional software.
Back to top
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0414s ][ Queries: 12 (0.0036s) ][ GZIP on ]