Community discussions

MikroTik App
 
dingsingo
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Sun Jul 24, 2005 9:47 pm
Location: Germany

Route extrn to intern

Mon Aug 01, 2005 9:38 am

Hello,

someone can say to tell me, to route a public IP to an internal Client IP ?

when I write in src-nat and dst-nat it is not work. Is the pransparent Web-Porxy the Probleme?


FW is 2.8.28

thx

dingsingo
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Mon Aug 01, 2005 9:47 am

hm, what exactly do you want to achieve ?

if you want to link Public address to local one (full NAT) check link:
http://www.mikrotik.com/docs/ros/2.8/ho ... ent#12.2.6
 
wildbill442
Forum Guru
Forum Guru
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Mon Aug 01, 2005 10:27 am

in addition to adding the src/dst nat rules you have to add the public IP you're mapping to the WAN interface on the router.
 
dingsingo
Member Candidate
Member Candidate
Topic Author
Posts: 116
Joined: Sun Jul 24, 2005 9:47 pm
Location: Germany

Mon Aug 01, 2005 10:50 am

in addition to adding the src/dst nat rules you have to add the public IP you're mapping to the WAN interface on the router.

You mean so?

dst-nat:

1 X src-address=10.100.x.xx/32 action=masquerade to-src-address=216.2xx.xx.xx


and

src-nat:
1 X src-address=10.100.xx.xx/32 action=redirect to-dst-address=216.2xx.xx.xx


the Client become the 10.100.xx.xx/32 in his PPPoE-Data.

I think the Problem is, I've install more than an "main" Routingtable example : http://www.mikrotik.com/docs/ros/2.8/ip ... t#7.48.4.4


dingsingo
 
wildbill442
Forum Guru
Forum Guru
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Mon Aug 01, 2005 8:11 pm

no you dont use "action=masquerade" ...

SRC-NAT
src-address=10.0.0.12/32 action=nat to-src-address=66.60.xx.xx

DST-NAT
dst-address=66.60.xx.xx/32 action=nat to-dst-address=10.0.0.12

IP Address
/ip address add 66.60.xx.yy/aa interface=wan

That will forward all requests from 66.60.xx.xx to 10.0.0.12 and vise-versa.

Who is online

Users browsing this forum: brunolabozzetta, GiovanniG, K0NCTANT1N, lurker888 and 98 guests