i don't know brother about the port 80. but you can NAT on default port 443 directly pointing to server , although i don't know if it is security risk or not (seniors will tell you). anyways i have an openVPN server to which i connect remotely and can access containers. and that is how i am playing with my production server from home, whole day.<div>
<br></div><div><br><div class="gmail_quote">On Sat, Jul 23, 2011 at 5:17 AM, Giuliano Monti Avellino <span dir="ltr"><<a href="mailto:giulianomontiavellino@gmail.com">giulianomontiavellino@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi every body.<br><br>I just downloaded proxmox for about a month and a half and i have been playing creating containers with different operating system, conecting to internet and until here every thing is ok.<br>
The problem arise when i try to conect to a container from the internet.<br>
The machine where i'm working is not a final machine, this is only to take experience.<br>It is attached to internet without firewall only adsl.<br>I want to keep access to promox which of course is in the Hardware Node.<br>
I readed <a href="http://wiki.openvz.org/Using_NAT_for_container_with_private_IPs" target="_blank">http://wiki.openvz.org/Using_NAT_for_container_with_private_IPs</a>, but when i apply the iptables example in the "How to provide access from internet to a container" it simply don't work<br>
<br>My network:<br><br>root@satelite2:~# ifconfig <br>eth0 Link encap:Ethernet HWaddr 00:16:17:4a:f2:21 <br> inet6 addr: fe80::216:17ff:fe4a:f221/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:28226 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:28461 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:1923570 (1.8 MiB) TX bytes:1806354 (1.7 MiB)<br>
Interrupt:23 Base address:0xed00 <br><br>eth1 Link encap:Ethernet HWaddr 00:01:02:36:d5:4f <br> inet6 addr: fe80::201:2ff:fe36:d54f/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:755 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:484 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:87358 (85.3 KiB) TX bytes:95968 (93.7 KiB)<br>
Interrupt:16 Base address:0x2000 <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:8 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:8 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)<br>
<br>venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 <br> UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1<br> RX packets:184 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:171 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:45642 (44.5 KiB) TX bytes:21856 (21.3 KiB)<br><br>vmbr0 Link encap:Ethernet HWaddr 00:16:17:4a:f2:21 <br>
inet addr:190.198.xx.zz Bcast:190.198.xx.zz Mask:255.255.224.0<br> inet6 addr: fe80::216:17ff:fe4a:f221/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:28222 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:28434 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:1526996 (1.4 MiB) TX bytes:1802390 (1.7 MiB)<br><br>vmbr1 Link encap:Ethernet HWaddr 00:01:02:36:d5:4f <br>
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0<br> inet6 addr: fe80::201:2ff:fe36:d54f/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:754 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:457 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:76724 (74.9 KiB) TX bytes:91872 (89.7 KiB)<br><br><br>The containers ip are 192.168.0.101, 192.168.0.102, 192.168.0.103 and 192.168.0.104 access is for port 80<br>
<br>Im a newbie in all this<br><br>I will appreciate if some one help me with this please?<br><font color="#888888"><br>Giuliano Monti Avellino<br><br>
</font><br>_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
<br></blockquote></div><br></div>