mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-27 00:25:51 +03:00
[GH-ISSUE #379] Connect from WAN #285
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @srulikuk on GitHub (Aug 4, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/379
Hi,
I have a fresh setup, followed instructions from https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr, all works great locally, but I cannot access the web interface from WAN side, port 80 is configured correctly on the router, I can't see a virtualhost setup in nginx pointing to the web GUI and apache is not running, however locally its working fine, can anyone please help with some instructions, I am a linux niewbe.
(KVM and webvirtmgr installed on same host)
Thanks
Sruli
@EmbeddedAndroid commented on GitHub (Aug 4, 2014):
When you say "port 80 is configured correctly on the router" does this mean the port forward is working properly? How did you verify this mapping is working correctly? Unless you have a fancy domain rewrite rule or reverse proxy, I would say your port forward is not working correctly.
@srulikuk commented on GitHub (Aug 4, 2014):
I have a regular NAT port forward which forwards incoming WAN port 80 traffic to local machine. the domain rewrite you are referring to should be in nginx?
@EmbeddedAndroid commented on GitHub (Aug 4, 2014):
Are you trying these requests from an external connection, I.E. not your local LAN. Do you have NAT reflection enabled?
I would use tcpdump on the webvirtmgr host and verify you are seeing WAN traffic.
@srulikuk commented on GitHub (Aug 4, 2014):
Thanks for your help, from LAN it works fine, only when I try from WAN it doesn't work, SSH from WAN does work, it its the same rule on the router I use for SSH and port 80.
with netstat i see 0.0.0.0:80 which I understand means its listening for port 80 from external network.
@srulikuk commented on GitHub (Aug 4, 2014):
Just ran a tcpdump, indeed I can't see any WAN traffic for http (I do see for SSH) what am I doing wrong? I doubt its my routers NAT setup as I have a different server I use for testing and when I turn that on and switch the NAT rules to that LAN address it works well.
@srulikuk commented on GitHub (Aug 6, 2014):
Turns out it was a bug in my router, i setup another few test servers and could not get http access on any of them from outside when using the same forwarding rules on router to different internal IPs, it only worked on 1 server which it has been working on for a long time, I made a factory reset on the router configured the same rules and all works! must have been some cache bug on the router.
Issue can be closed now, thanks for trying to help