Question
Port Forwarding not working
Hi all guys,
I have a problem with port forwarding on my new FG61E with FortiOS 5.4.1.
Schema:
Internet <-> (Public IP) Router (192.168.123.1) <-> (192.168.123.10) FG61E (192.168.69.254) <-> Server1 (192.168.69.156)
In the provider router the needed ports are correctly forwarded, I can see the incoming traffin on the FG.
There the rules:
config firewall service custom
edit "OpenVPN"
set category "Tunneling"
set udp-portrange 1195-1199
next
end
config firewall vip
edit "VIP_pfSense_OpenVPNUDP"
set extintf "wan1"
set portforward enable
set mappedip "192.168.69.156"
set protocol udp
set extport 1195-1199
set mappedport 1195-1199
next
end
config firewall policy
edit 5
set srcintf "wan1"
set dstintf "internal"
set srcaddr "all"
set dstaddr "VIP_pfSense_OpenVPNUDP"
set action accept
set schedule "always"
set service "OpenVPN"
set logtraffic all
next
end
What i get logged:
Date 09/15/2016
Time 21:11:23
Duration 0s
Session ID 24784
Virtual Domain root
NAT Translation Destination
Source
IP 111.111.111.111
Port 48037
Country Switzerland
Interface wan1 (Internet)
Destination
IP 192.168.123.10
NAT IP 192.168.69.156
Port 1195
Country Reserved
Interface internal (Internal)
Application
Name OPENVPN
Category unscanned
Protocol udp
Service OpenVPN
Data
Received Bytes 0 B
Sent Bytes 0 B
Sent Packets 0
Action
Action Deny: policy violation
Threat 131072
Policy 0 (Implicit Deny)
Policy UUID c44ddfe6-7b73-51e6-3350-2b6860c088e1
Policy Type IPv4
Security
Level
Threat Level critical
Threat Score 30
Any help appreciated.
Thank you very much,
bye Kess.
