!!! kaliteri eksigisi !!!

Symeonidis Alexandros admin at yourmail.gr
Wed Mar 23 14:56:35 EET 2005


lipon, tha to ksanapo ti akrivos enoo mpas ke den to ekana ksekatharo...

eixa ta eksis:

/etc/sysconfig/network
NETWORKING=yesHOSTNAME=some.server.com/etc/sysconfig/network-scripts/ifcfg-e
th0 DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
eixa lipon internet, mesw tu NAT, to opio stin usia ine ws eksis:

primaryserver [10.0.0.1] <---> [10.0.0.128]some.server.com (ip given
automatically via DHCP / gateway automatically set to 10.0.0.1)


twra, epidi sto primary ke to deftero thelw na trekso ta idia services, px
ftp etc...
ke thelw na kanw bind mia kanoniki external ip alu network, ke me nat rules
den
tha borusa na exw access sto deftero pc kanontas mapping tin idia porta sto
idio ip dio fores,
evala mia nea karta diktiou, ke akoluthi to configuration tis:

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth1
BOOTPROTO=static
BROADCAST=66.xxx.xxx.255
IPADDR=66.xxx.xxx.124
NETMASK=255.255.255.0
NETWORK=66.xxx.xxx.0
GATEWAY=66.xxx.xxx.1
ONBOOT=yes
TYPE=Ethernet

to apotelesma ine to eksis:
apo to pc mesa, an kanw px: lynx www.myip.dk   mu emfanizi to neo static ip
tis eth1
ara ola ginonte mesw tis eth1 pleon!
omos, apo to primary server, boro ke exw prosvasi sto secondary, ws
10.0.0.128
afto simeni pos ke oi dio kartes ine swsta rithmismenes ke dulevun!!!

to provlima:
Tha ithela, kapia sigekrimena paketa na pane mesw tu eth0, ke oxi tu eth1
!!!

sigekrimena, thelw ola ta outgoing TCP paketa mias portas na pane mesw tu
eth0,
ke fisika na ginonte translate gia to eth0, dld:

TCP outbound port 2525 -> eth0

bori kapios na me voithisi me afto ???

efxaristw poli prokatavolika !!!





More information about the Linux-greek-users mailing list