[FLUG] Re: redirigere

  • From: Simon <f.simon@xxxxxxxx>
  • To: fanolug@xxxxxxxxxxxxx
  • Date: Wed, 13 Mar 2002 16:27:45 +0100

Mailing List del Fortunae LUG
=============================

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Mar 13, 2002 at 12:35:49PM +0100, Roberto Romagnoli wrote:
> 
> PS per GEcco e Simon: poche prese per il culo:)
> 

Ahahahahahahahahahahahahahahahah UHuhuhuhuhuhuhuuhhuuh
Professore!!!!!!!!!!!!!! Si ricorda ancora di me;)))))!!!!!!!!!

Vabbè andiamo al sodo.

Premesso che lei si connetta in questo modo:

ifconfig eth0 10.0.0.1 netmask 255.0.0.0
pptp 10.0.0.138


Questa è la linea di iptables da usare:

iptables -t nat -A POSTROUTING -s 10.0.0.0/8 -o ppp0 -j MASQUERADE

In proposito consiglio di consultare:

http://netfilter.samba.org/unreliable-guides/NAT-HOWTO/NAT-HOWTO.linuxdoc.html


- -- 
/* Federico 's1m0n' Simoncelli <f.simon@xxxxxxxx>
   http://www.jkcal.org/simon
*/ 
int main(){unsigned int g,h=0;while(++h){for(g=(h>1)?2:1;g<
h/2+1&&h%g!=0;g++);if(g==h/2+1)printf("%i\n",h);}return 0;}

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8j2/n/ItriIBKan0RAnhBAKD8Hhc0TGup3YGCDMXjFOq7CqvEpgCfT+gL
DE52tbPk82j+S4LidOBLJpU=
=Fd5h
-----END PGP SIGNATURE-----
--
"Una Slackware e' per sempre ..."


Other related posts: