IP Masquerading

???????? ????? skekes at pylones.gr
Mon May 19 13:49:13 EEST 2003


En oligois i akolouthia entolon gia na sou paiksei einai i eksis:

echo "1">/proc/sys/net/ipv4/ip_forward
ipchains -F
ipchains -P output ACCEPT
ipchains -P input ACCEPT
ipchains -P forward DENY
ipchains -A forward -b -s 192.168.1.0/24 -j MASQ


simos wrote:

>To provlima poy exw einai to exhs .. sto linux  trexei to parakatw
>script (ipchains) gia na mporoun oi xrhstes na vlepoun ta mailboxes poy
>exoun ektos etairias , kai gia na mporoume  na kanoume  kai ssh-ftp
>connections (apo kapoious clienst)  se kana dyo allous servers pou
>vriskontai ektos . 
>
>/sbin/ipchains -F
>/sbin/ipchains -X
>/sbin/ipchains -P output ACCEPT
>/sbin/ipchains -P input ACCEPT
>
>/sbin/ipchains -P forward DENY
>/sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ
>
>
>Ayto exei san apotelesma ean kapoios xrhsths vgalei tis rythmiseis toy
>proxy apo ton Browser tou na "vlepei"
>inetrnet Kanonika , kai malista xwris na katagrafontai..
>
Pos vlepei internet ?? Den yparxei kapou antistrofos kanonas gia to 
masquerade!

>
>
>Anarwtieme loipon ean mporw na kanw Masquerade mono gia sygkekrimena
>services-ports  kovontas opoindhpote prospathei
>na kanei bypass ton Squid gia na kanei surf. To ecaxa kai monos mou oso
>mporousa alla eida oti oi syndeseis pou kanoyn oi
>xrhstes (sto linux) gia na lavoun email apo exw einai se kapoies
>perierges portes > 3000 kai den katafera kati :-(
>
Gia na pernane oloi apo to squid mnporeis na deis to transparent proxy 
howto sto http://www.tldp.org opou sou leei pos na kateythyneis olo to 
traffic mias portas na pernaei apo to squid.
Tora gia to masquerade nomizo oti kalo tha itan na kaneis masq olo sou 
to diktyo kai me input kanones na kopseis tous hosts pou den theleis na 
exoun access. Den parapano sti manpage tou ipchains.




More information about the Linux-greek-users mailing list