I have , 1 pptp server with 3 nic on 3 vmbr, on these vmbr have differents VM win10
I have a proxmox server with this lans
external iP (on eth0) --> vmbr0 (10.0.1.1) --> VM pptp server (10.0.1.2), and VM win10(10.0.1.3)
--> vmbr1 (10.0.2.1) --> VM pptp server (10.0.2.2), and other win10
--> vmbr2 (10.0.3.1) --> VM pptp server (10.0.3.1), and other win10
I have a this iptables set:
iptables-save
# Generated by iptables-save v1.6.0 on Wed Aug 29 05:45:18 2018
*filter
:INPUT ACCEPT [2506:1042958]
:FORWARD ACCEPT [58909:19319520]
:OUTPUT ACCEPT [2063:518226]
COMMIT
# Completed on Wed Aug 29 05:45:18 2018
# Generated by iptables-save v1.6.0 on Wed Aug 29 05:45:18 2018
*nat
REROUTING ACCEPT [1240:116263]
:INPUT ACCEPT [901:92399]
:OUTPUT ACCEPT [242:170632]
OSTROUTING ACCEPT [2504:291281]
-A PREROUTING -i enp1s0 -p tcp -m tcp --dport 3389 -j DNAT --to-destination 10.0.1.3:3389
-A PREROUTING -i enp1s0 -p tcp -m tcp --dport 3390 -j DNAT --to-destination 10.0.2.3:3389
-A PREROUTING -i enp1s0 -p tcp -m tcp --dport 3391 -j DNAT --to-destination 10.0.3.3:3389
-A POSTROUTING -s 10.0.1.0/24 -o enp1s0 -j MASQUERADE
But i can't make telnet out to pptp server to 1723 port but I can do from the same server, or win10 VM
Do You can help me?
Kind Regards.
I have a proxmox server with this lans
external iP (on eth0) --> vmbr0 (10.0.1.1) --> VM pptp server (10.0.1.2), and VM win10(10.0.1.3)
--> vmbr1 (10.0.2.1) --> VM pptp server (10.0.2.2), and other win10
--> vmbr2 (10.0.3.1) --> VM pptp server (10.0.3.1), and other win10
I have a this iptables set:
iptables-save
# Generated by iptables-save v1.6.0 on Wed Aug 29 05:45:18 2018
*filter
:INPUT ACCEPT [2506:1042958]
:FORWARD ACCEPT [58909:19319520]
:OUTPUT ACCEPT [2063:518226]
COMMIT
# Completed on Wed Aug 29 05:45:18 2018
# Generated by iptables-save v1.6.0 on Wed Aug 29 05:45:18 2018
*nat
REROUTING ACCEPT [1240:116263]
:INPUT ACCEPT [901:92399]
:OUTPUT ACCEPT [242:170632]
OSTROUTING ACCEPT [2504:291281]
-A PREROUTING -i enp1s0 -p tcp -m tcp --dport 3389 -j DNAT --to-destination 10.0.1.3:3389
-A PREROUTING -i enp1s0 -p tcp -m tcp --dport 3390 -j DNAT --to-destination 10.0.2.3:3389
-A PREROUTING -i enp1s0 -p tcp -m tcp --dport 3391 -j DNAT --to-destination 10.0.3.3:3389
-A POSTROUTING -s 10.0.1.0/24 -o enp1s0 -j MASQUERADE
But i can't make telnet out to pptp server to 1723 port but I can do from the same server, or win10 VM
Do You can help me?
Kind Regards.