Quantcast
Viewing all articles
Browse latest Browse all 20028

DNAT example

I want to be able to access a phone gui from the outside and limit by source address.  I have three phones so I want to use a different port for each phone.  Here is an example that does not work.  tailf /var/log/messages shows no activity when I try to hit it. 

 

I want to hit my.public.static.ip:9121 from my.public.source.ip

 

rule 1 {
description phone1
destination {
address 192.168.1.121
port 80
}
inbound-interface eth0
inside-address {
address my.public.static.ip
}
log enable
protocol tcp
source {
address my.public.source.ip
port 9121
}
type destination


Viewing all articles
Browse latest Browse all 20028

Trending Articles