[PVE-User] ssh from internet

Giuliano Monti Avellino giulianomontiavellino at gmail.com
Mon Oct 31 14:20:48 CET 2011


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
$IPT -A FORWARD -i $INET_IFACE -p tcp --dport 8100 -j ACCEPT
$IPT -I FORWARD -d 192.168.0.100 -p tcp --dport 8100 -j ACCEPT
$IPT -t nat -A POSTROUTING -o $INET_IFACE -s 192.168.0.0/24 -j MASQUERADE

I'm new to all this, at the college almost finishing, awill aprreciate the
help

Giuliano

2011/10/31 Guy <guy at britewhite.net>

> it's unlikely (impossible) to have both SSH and HTTPS accessing on the
> same port… SSH usually runs on port 22, have you tried that port?  You can
> check to see what ports are open on your system by issuing the netstat
> command:
>
>   netstat -an
>
> Cheers,
> ---Guy
>
> On 31 Oct 2011, at 12:47, Giuliano Monti Avellino wrote:
>
> I do have an asterisk installation and it is working without problem. I
> can access thru https://external_ip:8101/admin/ to manage the pbx with
> freepbx.
>
> I can access the container even from inside the network and vnc without
> problem,
> but i can not access any the container from outside internet using ssh
> external_ip:8101
>
> Can somebody help me out with this please.
>
> Giuliano
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pve-user/attachments/20111031/53fb3e91/attachment-0014.html>


More information about the pve-user mailing list