[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables su router



> iptables -t nat -A PREROUTING -i $int_if -p tcp -d $pub_web_ip \
>          --dport 80 -j DNAT --to-destination $priv_web_ip
> 
> iptables -t nat -A POSTROUTING -o $int_if -p tcp -d $priv_web_ip \
>          --dport 80 -j SNAT --to-source $router_int_ip
> 


Si...potrebbe andare. Se non fosse che $pub_web_ip è dinamico, e
quindi variabile !!
Ho linkato il nome dominio all'ip tramite dyndns...



Reply to: