NATD ... asi gateway ... ALE PRECO?
Martin Styblo
martin.styblo at fem.uniag.sk
Sat Jan 31 17:25:25 CET 2004
Dobry den
---
pre otisa - > naozaj som prehladal google a precital si handbook :)
---
snazim sa rozbehat natd
moja situacia
dve sietovky, jedna pre vnutornu siet, jedna von
nazorne:
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 62.152.229.210 netmask 0xfffffff0 broadcast 62.152.229.223
ether 00:60:08:0f:2b:ca
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
ether 00:e0:7d:82:5e:53
xl0 je sietovka s pristupom von ako uz vidno z vypisu.
---
V etc/rc.conf mam nasledovne:
ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_xl0="inet 62.152.229.210 netmask 255.255.255.240"
defaultrouter="62.152.229.209"
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_inerface="xl0"
natd_flags=""
kern_securelevel_enable="NO"
nfs_reserved_port_only="NO"
sendmail_enable="NONE"
sshd_enable="YES"
---
v jadre mam aj IPFIREWALL aj IPDIVERT
---
vsetko pekne, nabehne aj natd daemon (z netstat -a):
div4 0 0 *.natd *.*
vo vnutornej sieti mam ako gateway 192.168.0.1 ...
pingnem aj 62.152.229.210 ale ...
ale dalej nic. Ako keby nepredalo ip ... aj ked net.inet.ip.forwarding: 1
---
prosim poradte ... dakujem Martin
More information about the Users-l
mailing list