How do I set up a router with Puppy?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

Beginners Help

#16 Post by ecomoney »

I use the Internet from eth0 and i try to share connection (NAT) to eth1.
I set eth1 with ip 192.168.0.1 mask 255.255.255.0 .
eth0 is with net ip (real) , mask 255.255.255.0 gateway + DNS

I set other computers which are connected to eth1 with ip's 192.168.0.2/255,
mask 255.255.255.0 and gateway 192.168.0.1
I can ping all ip's but they can't ping me .

and then set :

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

No Internet on computers connected to eth1 (no ping to ip which are in the network with the net)

then set:

iptables - t nat -A POSTROUTING -o eth0 -j SNAT -to-source "netip"

add:

iptables -A PREROUTING -i eth0 -j DNAT --to-destination 192.168.0.1

enable forwarding too with

echo 1 > /proc/sys/net/ipv4/ip_forward
Hi Raffy, thanks for that

May we have a "beginners help" blow by blow run down of how to do that plzzzz!!!!
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

Auda
Posts: 131
Joined: Sun 08 May 2005, 20:08
Location: New Zealand ( Christchurchish )

#17 Post by Auda »

Unless you specificaly want to use puppy have a look at Freesco
http://forums.freesco.org/support/
Freesco a single floppy router and firewall. Its instalable on a hard drive or cd and will run Apache, ftp, mail, etc.
Auda

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#18 Post by sunburnt »

Mark; in Win. at least it's called a proxy, Linux maybe not.
Try using the Freesco Router (Free Cisco Router), it only needs a floppy to boot & work, will run off a HD also, small fast, simple to setup & use, has http, ftp, routing, & a pile of packages for it, NFS, Samba, etc.
It's what I'll be using for the LanPuppy server if Puppy can't be fixed for dhcp & Samba servers.

http://freesco.org/

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

Smoothwall

#19 Post by ecomoney »

Were using smoothwall at the momen (www.smoothwall.org), That turns the pc into a dedicated firewall and rounter. Its excellent, but the pc we are using for this could also easily run puppy and solve a lot of domestic problems ;-)
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#20 Post by edoc »

sunburnt wrote:Mark; in Win. at least it's called a proxy, Linux maybe not.
Try using the Freesco Router (Free Cisco Router), it only needs a floppy to boot & work, will run off a HD also, small fast, simple to setup & use, has http, ftp, routing, & a pile of packages for it, NFS, Samba, etc.
It's what I'll be using for the LanPuppy server if Puppy can't be fixed for dhcp & Samba servers.

http://freesco.org/
Can you add me to a LanPuppy list so I may be in the loop as it is developed? I just PM's another Forum member asking of there was anything like that in the works!

I am not smart enough to help meaningfully in development but seem to have the gift of breaking things -- useful in alpha and beta testing I suppose!

Thanks! doc
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

Post Reply