This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Port Forwarding With Service Translation

I'm not quite understanding the following error:

The matching service protocol is not the same as the translated one.

I want to accept connections at 8081 on the external interface and then forward them to port 80 of a machine on the LAN.  I defined a service for 8081, and called it"HTTP-8081".  I attempted to define a DNAT/SNAT rule that matched inbound packets destine for the external address port 8081, and then change the destination to a machine on the LAN, and set the service destination to "HTTP".

Why is this not allowing me to set this up?


This thread was automatically locked due to age.
Parents
  • Should work, any entries in your packetfilter.log? Do you see the rule with 'iptables -L NAT_PRE -t nat' ?
    /bagira
  • Well, packetfilter.log has packet filter log entries.  No iptables script commands.  Also, dnat/snat is working.  The problem is it appears as if the web page is broke and won't let me add the rule.  This is the latest version of ASL, 5.008.
  • Firstly, update to the latest version 5.010. Which entries do you see in your packetfilter.log regarding the port/ip-address?
    What do you mean with ' No iptables script commands '? If you cannot find an entry of your defined DNAT-rule, the rule was nor set by the mdw. 
    /bagira
Reply
  • Firstly, update to the latest version 5.010. Which entries do you see in your packetfilter.log regarding the port/ip-address?
    What do you mean with ' No iptables script commands '? If you cannot find an entry of your defined DNAT-rule, the rule was nor set by the mdw. 
    /bagira
Children