Hi Community
At the moment i have a Hetzer Host with 1 IP and this config
Now i have rent a second IP and addet it to the second opnsense fw..but i cant ping it..i used this guide
https://serverfault.com/questions/1158086/proxmox-mulitple-public-ip
Can someone help me?
Regards,
Michael
At the moment i have a Hetzer Host with 1 IP and this config
Code:
auto eno1
iface eno1 inet static
address 80.120.X.XX/27
gateway 80.120.X.XX
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A PREROUTING -i eno1 -p tcp -m multiport ! --dport 22,8006 -j DNAT --to 10.10.10.2
post-up iptables -t nat -A PREROUTING -i eno1 -p udp -j DNAT --to 10.10.10.2
auto vmbr0
iface vmbr0 inet static
address 10.10.10.1/30
bridge-ports none
bridge-stp off
bridge-fd 0
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/30' -o eno1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/30' -o eno1 -j MASQUERADE
auto vmbr4
iface vmbr4 inet static
address 80.120.X.XX/32
bridge-ports none
bridge-stp off
bridge-fd 0
up ip route add 80.120.X.XX dev vmbr4
#opnsense-2
https://serverfault.com/questions/1158086/proxmox-mulitple-public-ip
Can someone help me?
Regards,
Michael
Last edited: