Configure arrival route in pfsense

Asked

Viewed 739 times

0

Guys, I’m trying to get my app up in the air, but I have no idea which way to go.

It is a server developed in grails, already managed the . War and it runs on top of tomcat7, when access locally and from other machines on the same network it is running.

However for me to access from another machine anywhere in the world I know I have to configure the route on my network’s edge server, in case I have pfsense installed

inserir a descrição da imagem aqui

I know the real ip of my machine through the site https://www.whatismyip.com/.

However when access this ip by port 8080 nothing is found, what is missing I configure? I have to have some registered dns?

UPDATE

inserir a descrição da imagem aqui inserir a descrição da imagem aqui inserir a descrição da imagem aqui

Suggested change

inserir a descrição da imagem aqui

Drops to pfsense login screen

  • 1

    Do a test, from inside the network try to access 192.168.1.95:8080 and see if connects. Because by default Tomcat only "listens" to the localhost interface (127.0.0.1), then you have to edit its startup and put something like "0.0.0.0" so that it "listens" to all network interfaces.

  • Yes, access my application from any machine in the internal network. If I put my real ip in the browser it drops in pfsense login screen, And if I put in port 8080 nothing happens.

  • Put "Enable ( NAT+Proxy )" in "NAT Reflection" option solves.

  • Giovani already this option, and yet nothing

1 answer

1


Friend you have to use the "Port Forwarding" (Port forwarding) of your Router, in it you will forward everything arriving looking for the door 8080 to your machine, and easy to configure you put the ip of the machine and the door, look in the manual of your router.

You also need to check your operating system firewall if port 8080 is open ok?

However there is a problem if your internet has no fixed IP, every time your IP is reconnected your will change, for this you can use services such as no-ip that automatically directs to a fixed address (seusite.no-ip.algumacoisa) using a program that sends your new IP to a DNS online.

But I recommend that you arrange a paid accommodation (you find Tomcat for 9.90 month around + a database and your application is publishes without a headache), if putting yourself on the scale is cheaper to hire a hosting than keeping a machine turned on at home 24 by 7 and with reliable internet connection, wearing out your machine, consuming energy and internet in addition to exposing your network to safety hazards, consider this.

  • Yes that’s what I’m trying to do in the Firewall/NAT/Port Forward tab of pfsense but I can’t release access in the way

  • Ha and windows firewall is off

  • ip 192.168.1.95 is fixed on your machine? can you see the Tomcat of another machine inside the network by accessing this ip? check first the intranet access may be that there is something wrong in your machine.

  • yes it is yes, by another machine in the network access by this ip and I see my application running successfully

  • 1

    makes a test there, in port range puts port 80 to 8080 and tries to access by direct browser on ip without putting the port number at the end (:8080)

  • already tried to put htpps tbm

  • test if its ports 80 and 8080 are open in this online scanner http://www.t1shopper.com/tools/port-scan/ some routers you have to release the port in a configuration, and then redirect, it may be that your port although redirected has not been released. See if you have a firewall option on your router that enables these ports

  • The interface was wrong

Show 3 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.