Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170705

Remove Redirected Port 81

$
0
0
Good morning ,

I have installed a machine with Proxmox 3.1 on it I have two vps ( openvz ) with internal ips.

in the interface file had it set up like this:

auto lo
inet loopback iface

auto vmbr0
inet static iface vmbr0
xxx.xxx.x.xxx address
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0


VPS # 1
post -up iptables -t nat -A PREROUTING - p tcp - i vmbr0 - dport 80 -j DNAT - to 192.168.1.132:80
post -down iptables -t nat -D PREROUTING -i vmbr0 - p tcp - dport 80 -j DNAT - to 192.168.1.132:80

VPS # 2

post -up iptables -t nat -A PREROUTING - p tcp - i vmbr0 - dport 81- j DNAT - to 192.168.1.132:80
post -down iptables -t nat -D PREROUTING -i vmbr0 - p tcp - dport 81- j DNAT - to 192.168.1.132:80

Thus any , putting on the Ip node browser is redirected to vps 1 and if I put the ip of the browser with port 81 is redirected to vps 2 .

To perform a test , change ips , so port 80 out the vps 2 and leave port 81 for the vps 1.

From this , it began to malfunction, now is not going to one or the other.

And every time I put the ip in the browser is redirected to the same IP with port 81 .

I have commented the lines in the interfaces and I restarted the node, but it redirigiéndose to port 81 .

I think somewhere in Proxmox is staying always something that makes going to port 81 .

Anyone know how to remove the bearings or redirect this .

thank you very much

regards

Viewing all articles
Browse latest Browse all 170705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>