Grant Pasley
2016-08-08 11:25:09 UTC
Hi there,
I have Shorewall version 5.0.8.2 running on centos 7. I am not able to
get the dnat to a local pc working. The pc has the shorewall server set
as it's gateway and I am able to telnet to port 3389 on the pc from the
server.
I can see the connection coming in on the shorewall server but it does
not forward to the pc. If I telnet to the pc from the lan it works fine
though. The firewall on the pc is completely off. Please see attached
dunp of shorewall config and below the connection coming in - can anyone
see what I am missing?
Aug 8 13:23:49 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=ff:ff:ff:ff:ff:ff:d4:ca:6d:46:e1:ce:08:00 SRC=192.168.1.1
DST=255.255.255.255 LEN=161 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
SPT=43098 DPT=5678 LEN=141
Aug 8 13:23:55 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=e0:69:95:50:4d:e2:d4:ca:6d:46:e1:ce:08:00 SRC=120.146.190.53
DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=106 ID=31747 DF PROTO=TCP
SPT=51902 DPT=3389 WINDOW=8192 RES=0x00 SYN URGP=0
Aug 8 13:23:58 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=e0:69:95:50:4d:e2:d4:ca:6d:46:e1:ce:08:00 SRC=120.146.190.53
DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=106 ID=31821 DF PROTO=TCP
SPT=51902 DPT=3389 WINDOW=8192 RES=0x00 SYN URGP=0
Aug 8 13:23:59 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=e0:69:95:50:4d:e2:d4:ca:6d:46:e1:ce:08:00 SRC=120.146.190.53
DST=192.168.1.2 LEN=48 TOS=0x00 PREC=0x00 TTL=106 ID=31893 DF PROTO=TCP
SPT=51902 DPT=3389 WINDOW=8192 RES=0x00 SYN URGP=0
--
thanks and regards,
grant pasley.
xtranet.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
I have Shorewall version 5.0.8.2 running on centos 7. I am not able to
get the dnat to a local pc working. The pc has the shorewall server set
as it's gateway and I am able to telnet to port 3389 on the pc from the
server.
I can see the connection coming in on the shorewall server but it does
not forward to the pc. If I telnet to the pc from the lan it works fine
though. The firewall on the pc is completely off. Please see attached
dunp of shorewall config and below the connection coming in - can anyone
see what I am missing?
Aug 8 13:23:49 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=ff:ff:ff:ff:ff:ff:d4:ca:6d:46:e1:ce:08:00 SRC=192.168.1.1
DST=255.255.255.255 LEN=161 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP
SPT=43098 DPT=5678 LEN=141
Aug 8 13:23:55 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=e0:69:95:50:4d:e2:d4:ca:6d:46:e1:ce:08:00 SRC=120.146.190.53
DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=106 ID=31747 DF PROTO=TCP
SPT=51902 DPT=3389 WINDOW=8192 RES=0x00 SYN URGP=0
Aug 8 13:23:58 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=e0:69:95:50:4d:e2:d4:ca:6d:46:e1:ce:08:00 SRC=120.146.190.53
DST=192.168.1.2 LEN=52 TOS=0x00 PREC=0x00 TTL=106 ID=31821 DF PROTO=TCP
SPT=51902 DPT=3389 WINDOW=8192 RES=0x00 SYN URGP=0
Aug 8 13:23:59 sentinel kernel: Shorewall:xis-fw:ACCEPT:IN=eno1 OUT=
MAC=e0:69:95:50:4d:e2:d4:ca:6d:46:e1:ce:08:00 SRC=120.146.190.53
DST=192.168.1.2 LEN=48 TOS=0x00 PREC=0x00 TTL=106 ID=31893 DF PROTO=TCP
SPT=51902 DPT=3389 WINDOW=8192 RES=0x00 SYN URGP=0
--
thanks and regards,
grant pasley.
xtranet.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus