View previous topic :: View next topic |
Author |
Message |
net_keeper Tux's lil' helper
Joined: 06 Jul 2003 Posts: 108 Location: Earth
|
Posted: Tue Jul 08, 2003 6:54 pm Post subject: 1)Internet Sharing with gentoo; 2)whereis service command |
|
|
Hy,
I'v finally installed gentoo and it wasn't so hard.
I have two problems:
1) I try to write "service network restart" but it's didnt found the service command, where is she?
2)How do I share my internet connection?
Thank for all the people who help me to install....
Eyal |
|
Back to top |
|
|
djf_jeff Apprentice
Joined: 17 Feb 2003 Posts: 174 Location: Quebec
|
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Tue Jul 08, 2003 8:25 pm Post subject: |
|
|
You could use shorewall to create the gateway (share internet connection). Shorewall is a well-known program, easily configurable, that uses iptables... The other solution would be to handle yourself iptables. |
|
Back to top |
|
|
net_keeper Tux's lil' helper
Joined: 06 Jul 2003 Posts: 108 Location: Earth
|
Posted: Tue Jul 08, 2003 10:33 pm Post subject: |
|
|
shorewall? where is it at the emerge?
And i would like it to be DHCP.
I saw at /etc/conf.d/net there is an option to do something with aliases is that mean DHCP?
And how do i configure the gateway DHCP?
Althogh I'm personally prefferd Guarddog
Last edited by net_keeper on Tue Jul 08, 2003 10:37 pm; edited 1 time in total |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Tue Jul 08, 2003 10:35 pm Post subject: |
|
|
net_keeper wrote: | shorewall? where is it at the emerge?
And i would like it to be DHCP.
I saw at /etc/conf.d/net there is an option to do something with aliases is that mean DHCP?
And how do i configure the gateway DHCP? |
It's a firewall, and will need some configuration (you can get sample files at http://www.shorewall.net)
If you need a dhcp server for your gateway, use dhcpd (installed by default) |
|
Back to top |
|
|
net_keeper Tux's lil' helper
Joined: 06 Jul 2003 Posts: 108 Location: Earth
|
Posted: Tue Jul 08, 2003 10:39 pm Post subject: |
|
|
Deathwing00 wrote: | net_keeper wrote: | shorewall? where is it at the emerge?
And i would like it to be DHCP.
I saw at /etc/conf.d/net there is an option to do something with aliases is that mean DHCP?
And how do i configure the gateway DHCP? |
It's a firewall, and will need some configuration (you can get sample files at http://www.shorewall.net)
If you need a dhcp server for your gateway, use dhcpd (installed by default) |
Actualy it's on:
emerge net-firewall/shorewall
And still, how can i setup dhcpd for beeing server?
And dont tell me to RTFM because i didnt understand anything. |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Tue Jul 08, 2003 10:56 pm Post subject: |
|
|
net_keeper wrote: | Deathwing00 wrote: | net_keeper wrote: | shorewall? where is it at the emerge?
And i would like it to be DHCP.
I saw at /etc/conf.d/net there is an option to do something with aliases is that mean DHCP?
And how do i configure the gateway DHCP? |
It's a firewall, and will need some configuration (you can get sample files at http://www.shorewall.net)
If you need a dhcp server for your gateway, use dhcpd (installed by default) |
Actualy it's on:
emerge net-firewall/shorewall
And still, how can i setup dhcpd for beeing server?
And dont tell me to RTFM because i didnt understand anything. |
iptables does not do dhcp... it's for firewalling and masquerading among others... like your internet sharing
This one is the dhcp server, you have to configure it by reading
and, after that,
Code: | # rc-update add dhcp default |
|
|
Back to top |
|
|
|