I want to NAT a public ip like this :

publicIP(212.xx.xxx.17)
        |
        |
        |
publicIP (212.xx.xxx.18)
        |
        [vyatta]
        |
publicIP (62.xxx.xxx.95)
        |
        |
        |
publicIP(62.xx.xxx.64)(webservice)


rule 10 {
                type: "source"
                outbound-interface: "eth0"
                protocols: "all"
                source {
                    network: "62.xx.xxx.0/24"
                }
                destination {
                    network: "0.0.0.0/0"
                }
                outside-address {
                    address: 62.xx.xxx.64
                }
            }
            rule 20 {
                type: "destination"
                inbound-interface: "eth0"
                protocols: "tcp"
                source {
                    network: "0.0.0.0/0"
                }
                destination {
                    address: "212.xx.xxx.18"
                }
                inside-address {
                    address: 62.xx.xxx.64
                }
            }

I can access on publicIP(62.xx.xxx.64)(webservice) on port 22(ssh) but all
over not respond.

Am I doing something wrong, or what?

Thank you for your help

Régis – from Bordeaux

_______________________________________________
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users

Reply via email to