[LUGOS] siol adsl
rok
lugos at s-je.sik.si
Tue Jun 4 15:32:38 CEST 2002
Sledece ne govorim po lastnih izkusnjah, ampak po sklepanju.
On Tue, 4 Jun 2002 himba at volja.net wrote:
> predvidevam da siol ponuja PPPoE kar naj bi bi
> isto/podobno kot PPPoX?!?
> Imam prav?
Verjetno imas prav. Jst razumem to kot xDSL pri cemer je x lahko a, s, ...
> ALi je dovolja da preberem DSL-howto da omogocim adsl?
Ne, to zagotovo ni dovolj! Potem mors se nastavit adsl :)
Ce mas ze instaliran rp-pppoe potemzazeni adsl-setup (al neki v tem
smislu) pol pa adsl-start, da vidis, ce spila.
> rad bi omogocu se
> internet, preko masine na kateri bo adsl prikljucek, za
> celotno lokalno
> mrezo v ozadju - 6 rac. Ali potrebujem IP forwarding,
> firewall in pa
> iptables?
potrebujes nat.
Iptables to prav lepo naredi:
---stolen-from-nat-howto--:)-
4.1. I just want masquerading! Help!
This is what most people want. If you have a dynamically allocated IP
PPP dialup (if you don't know, this is you), you simply want to tell
your box that all packets coming from your internal network should be
made to look like they are coming from the PPP dialup box.
# Load the NAT module (this pulls in all the others).
modprobe iptable_nat
# In the NAT table (-t nat), Append a rule (-A) after routing
# (POSTROUTING) for all packets going out ppp0 (-o ppp0) which says to
# MASQUERADE the connection (-j MASQUERADE).
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
# Turn on IP forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
Note that you are not doing any packet filtering here: for that, see
the Packet Filtering HOWTO: `Mixing NAT and Packet Filtering'.
---stolen-from-nat-howto--:)-
tole dela tud za druge modeme (kabelske, analogne, isdn vmesnike,
prakticno za vecino meni znanih remote dostopov)
upam, da je bilo v pomoc...
lp, rok.
More information about the lugos-list
mailing list