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 problem

Dear all,
can anyone figure out my problem?
I am using a ASG220, Release 6.200.
I want to make internal servers visible for administration purpose from the internet.
the tool is called Remote Administrator. default port 4899, but can be changed.
There is a description at http://www.radmin.com/index.php?lang_ui=en (english).

I'd like to do a port forwarding on one official ipaddress:

official-ip:4899 ----> internal-server1:4899
official-ip:4900 ----> internal-server2:4899
official-ip:4901 ----> internal-server3:4899
.....and so on.

On the Astaro box i set up the network and service definitions.
Packet filter rules are:
src: any --> service: 4899 --> allow --> dst: internal-server1
src: any --> service: 4900 --> allow --> dst: internal-server2
src: any --> service: 4901 --> allow --> dst: internal-server3
.....

But this is only working for the same service pair.
for example:
official-ip:4901 ----> internal-server3:4901

The nat-rules are:

rule-type --> dnat/snat
source--> any
destination address --> official-ip
service --> 4899
change source to --> :no change
change destination to --> internal-server1
service --> 4899

rule-type --> dnat/snat
source--> any
destination address --> official-ip
service --> 4900
change source to --> :no change
change destination to --> internal-server2
service --> 4899

rule-type --> dnat/snat
source--> any
destination address --> official-ip
service --> 4901
change source to --> :no change
change destination to --> internal-server3
service --> 4899

Can anyone help me on this issue?
thanks in advance


This thread was automatically locked due to age.
Parents
  • Your packetfilter rules are wrong...

    Packetfiltering for the INT network comes after the NAT has happened, so your rules should all be for 4899 if that's what you're NATting to.

    Barry
  • Hi Barry.

    Yes, I'm NATting to Port 4899.

    Packet filter rules are:
    src: any --> service: 4899 --> allow --> dst: internal-server1
    src: any --> service: 4900 --> allow --> dst: internal-server2
    src: any --> service: 4901 --> allow --> dst: internal-server3
    .....

    So, do I have to put in as well
    src: any --> service: 4899 --> allow --> dst: internal-server1
    src: any --> service: 4900 --> allow --> dst: internal-server2
    src: any --> service: 4899 --> allow --> dst: internal-server2  service: 4901 --> allow --> dst: internal-server3
    src: any --> service: 4899 --> allow --> dst: internal-server3 
  • No, your ONLY rules for this should be:

    src: any --> service: 4899 --> allow --> dst: internal-server1
    src: any --> service: 4899 --> allow --> dst: internal-server2
    src: any --> service: 4899 --> allow --> dst: internal-server3

    Barry
  • Hi Barry.

    If I put in the rules like that, the only system I can reach is internal-server1  !!
    But thanks to your post I found the solution:
    src: any --> service: 4899 --> allow --> dst: internal-server1
    src: any --> service: 4900 --> allow --> dst: internal-server2
    src: any --> service: 4899 --> allow --> dst: internal-server2  service: 4901 --> allow --> dst: internal-server3
    src: any --> service: 4899 --> allow --> dst: internal-server3 
Reply
  • Hi Barry.

    If I put in the rules like that, the only system I can reach is internal-server1  !!
    But thanks to your post I found the solution:
    src: any --> service: 4899 --> allow --> dst: internal-server1
    src: any --> service: 4900 --> allow --> dst: internal-server2
    src: any --> service: 4899 --> allow --> dst: internal-server2  service: 4901 --> allow --> dst: internal-server3
    src: any --> service: 4899 --> allow --> dst: internal-server3 
Children
No Data