A static IP environment ,
GHD Dark Styler
within the internal network 192.168.0.0/24 network interface lan
outer network address ; 61.61.61.61 external network interfaces telecon
mapped to the internal waiter is 192.168.0.200 appearance network and set behind within the network can access the external network address itself
(a) mapping
/ ip firewall nat add chain = dstnat dst -address = 61.61.61.61 action = dst-nat
to-addresses = 192.168.0.200 to-ports = 0-65535 annotate = maimed = not
(b) return
/ ip firewall nat increase chain = srcnat src-address = 192.168.0.200 deed = src-nat
to-addresses = 61.61.61.61 to-ports = 0-65535 comment = ports are mapped port 0-65535 manner complete mapping
If you want to map the WWW (Web) port to 80 to
; equitable want to map the FTP port namely to-ports = 21 to
two,
GHD Ireland, ADSL dynamic IP environment because NAT mapping
1st first. to assure a successful mapping
ip-> Firewall-> Destination NAT -> +
General
Src. address 0.0.0.0 / 0
src. port
interfalce pppoe-out1 (ADSL dial-up articulation to your appoint)
Dst.address 0.0. 0.0 / 0
Dst.wharf 8080 (mapping of the port)
protocol tcp (protocol)
ACTION:
Action nat
to Dst.address 192.168.0.3-192.168.0.3 (mapped IP)
to Dst.port 8080 (port mapping)
went on to set the two circulate Step
ip-> Firewall-> Source NAT -> +
General Pages:
src.address IP within the network map / 32
src.port
Dst.address map IP network within the network segment / 24 (whether you map the IP to 192.168.1.1,
GHD Straightener, 192.168.1.0 then here you ought fill / 24)
Dst port mapping port
T0out.interface always
protocol tcp
ACTION page:
Action nat ;
to src.address 0.0.0.0 - 0.0.0.0
to src.ports mapping port
part two
ip loopback -> Firewall-> Destination NAT -> +
General page
Src. address 0.0.0.0 / 0
src. port
interfalce ether1
Dst.address 0.0.0.0 / 0
Dst.port (port mapping)
protocol tcp
ACTION page:
Action nat
to Dst.residence 192.168.0.3-192.168.0.3 (intranet mapping IP)
to Dst.port 8080 (port mapping)