Routing to web user interface

halterpc

Member
Apr 7, 2015
1
0
21
Hi!
sorry for my english!


I have a server in Hetzner on which I installed Proxmox 3.4. I have just one public ip.


I want to make a routing port. That is:


- I want to access [ip published]: 10122
- I really want to enter [machine CT]: 22


All this I do it from the web user interface.


------------------------------------------------


That is, I want to do:


Code:
    post-up echo 1 > /proc/sys/net/ipv4/ip_forward
    post-up iptables -t nat -A POSTROUTING -s '10.21.21.0/24' -o vmbr0 -j MASQUERADE
    post-down iptables -t nat -D POSTROUTING -s '10.21.21.0/24' -o vmbr0 -j MASQUERADE


    post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 10122 -j DNAT --to 10.21.21.101:22
    post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 10122 -j DNAT --to 10.21.21.101:22

But from the web user interface
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!