Community discussions

MikroTik App
 
miskin
just joined
Topic Author
Posts: 6
Joined: Fri Nov 19, 2010 11:25 pm

Web server with public IP address

Tue May 22, 2012 4:58 pm

I have a Web server located behind a firewall on a private IP address.
I bought cPanel and they do not support NAT.
I need to put the public IP address of the server. How do I do?

The situation is as follows:

I get the link from ISP subnet 212x.xx/30 to port ether1 (RB1100). I've got a provider of class C public IP address.
My web server is on port ether3. How to put the public IP of the web server?

I tried the following:

Web server ether1 ip: 92.x.x.2/24
Gateway: 92.x.x.1/24
DNS: 8.8.8.8

RB1100 ether3 IP: 92.x.x.1/24
DNS. 8.8.8.8
srcnat chain = action = masquerade src-address =! 92.xxx/24 out-interface = ether1

P. S.
That means I will not NAT.

Please if anybody knows to help me
tnx
 
nino
just joined
Posts: 19
Joined: Fri May 13, 2011 6:11 pm

Re: Web server with public IP address

Tue May 22, 2012 10:18 pm

Hi,

The first thing that you need is to know if your public IP class C is routed correctly by your ISP.

The second thing is there is a default route to your ISP, and the third if you don't need masquerade rule try to disable.

Regards

Who is online

Users browsing this forum: Deyan, egilsst, jfuu and 29 guests