networking prob.

Pavlos Parissis p_pavlos at freemail.gr
Tue Oct 29 00:19:01 EET 2002


On Mon, 28 Oct 2002 22:20:29 +0200 "nokia .." <nokia at ircmaster.gr> wrote:
>  H katastash exei ws e3hs: pc1: win2k sp2 (box), pc2: SuSE linux 7.3
>  (laptop)
>  
>  auta ta 2 einai syndedemena meta3y tous mesw hub.  Mexri prin 15 meres 
>  xrhsimopoiousa san "server" to win2k box kai to linuxaki empaine mia
>  xara mesw tou winbox sto net.  tote eixa to problhma oti den mporouse
>  kapoios na mpei ston apache h ston ssh server..
>  
>  apo fasisa loipon na kanw "server" to linuxaki.  ta settings pou exw
>  balei sto win2k box einai ta klasika gia diasyndesh mesw allou
>  ypologisth. dld: IP: 192.168.0.2
>  Netmask: 255.255.255.0
>  Gateway: 192.168.0.1
>  
>  kai sto linuxaki exw poly apla kanei enable to ip fwd kai exw balei
>  settings IP: 192.168.0.1 
>  netmask kai gateway egrafe aplws "default" kai etsi den ta peira3a..
pou to egrafe afto?!
>  
>  h erwthsh mou einai aplh:  poia einai ta settings (ama xreiazonte) pou
>  prepei na kanw sto winbox gia na pernei bandwith apo to linuxaki?  kai
>  poia einai ta settings tou route pou prepei na kanw sto linux gia na
>  kanei dromologhsh ta tcp paketa kai sto allo to mhxanhma?
Thes ipostiriksei ston kernel gia iptables kai tis 2 parakatw entoles
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
Tha sou prvteina na diavaseis to iptables tutorial pou to vriskeis edo
http://iptables-tutorial.frozentux.net/
>  epishs kapoios filos mou proteine th diktywsh tous kai to sharing tou 
>  bandwith mesw tou smb (samba).  diavasa olo to documentation kai parola
>  auta 
to samba den kanei  "bandwith sharing" opws les alla file sharing


FIlika,
Pavlos


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the Linux-greek-users mailing list