Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port Forwarding #55

Closed
xoseperez opened this issue Feb 3, 2017 · 7 comments
Closed

Port Forwarding #55

xoseperez opened this issue Feb 3, 2017 · 7 comments
Labels

Comments

@xoseperez
Copy link
Owner

Originally reported by: Matheus Telles (Bitbucket: matheustelles, GitHub: matheustelles)


Hi Xose,

There is some way to assign some port on lan to each espurna device? So would be good for remote access of the web portal and change some settings. When I install a raspberry on a client and he report some bug, I can access the device remotely through ddns and check if it's everything ok.

@xoseperez
Copy link
Owner Author

Most routers can do NAT to map a port to an address inside the network. But a better options would be to use a reverse proxy with SSL. Otherwise I wouldn't even think about opening a door from the outside... Anyway, this is not related to the device or ESPurna.

@xoseperez
Copy link
Owner Author

Original comment by Matheus Telles (Bitbucket: matheustelles, GitHub: matheustelles):


I tried to open a port to the espurna device ip, no success. On raspberry I can choose which port to access device on lan. On Openhab too, like "192.168.x.x:8080/openhab.app".

@xoseperez
Copy link
Owner Author

ESPurna is listening on port 80, do you mean you'd like to choose the port it uses?

@xoseperez
Copy link
Owner Author

Original comment by Matheus Telles (Bitbucket: matheustelles, GitHub: matheustelles):


Yes! So I set one different port for each ESPurna device.

@xoseperez
Copy link
Owner Author

No problem, that could be configurable, but you can map different ports in your router to port 80 of different addresses in your network.

@xoseperez
Copy link
Owner Author

Option added to version 1.6.3

@xoseperez
Copy link
Owner Author

Removing milestone: 1.7.0 (automated comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant