[PVE-User] ssh from internet

Giuliano Monti Avellino giulianomontiavellino at gmail.com
Mon Oct 31 18:56:06 CET 2011


ohhh my (between lines)

2011/10/31 Giuliano Natali <diaolin at diaolin.com>

> Giuliano Monti Avellino wrote:
> > In fact, part of the firewall is like this:
> >
> > $IPT -t nat -A PREROUTING -p tcp -d $ip_address --dport 8101 -i
> > $INET_IFACE
> > -j DNAT --to-destination 192.168.0.101:443,22
>
> Ok ma la 22????
>
> Se vuoi la 22 devi fare un DNAT verso
> -j DNAT --to-destination 192.168.0.101:22
>

same line different port??
stessa linea a un altro porto??

  $IPT -t nat -A PREROUTING -p tcp -d $ip_address --dport 8101 -i >
$INET_IFACE > -j DNAT --to-destination 192.168.0.101:443

$IPT -t nat -A PREROUTING -p tcp -d $ip_address --dport 8101 -i >
$INET_IFACE > -j DNAT --to-destination
192.168.0.101:22<http://192.168.0.101:443/>

this is not working. Look / non funziona. Guarda
w3m my_ipaddress:8101 ok
ssh my_ipaddress:8101 ssh: Could not resolve hostname my_ipaddress:8101:
Name or service not known

> $IPT -I FORWARD -d 192.168.0.100 -p tcp --dport 8100 -j ACCEPT

 e questo???
>
> sopra 101 qui 100
>
> Hmmmmmmmmmmmmmmmmmmmmmmmm
>
> Sorry my mistake copy/past
Scusa, ho sbagliato cuando copiavo qui.


> Diaolin
>
> Giuliano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20111031/706ac7b3/attachment.htm>


More information about the pve-user mailing list