How would I port forward? I would like to get port...
# server
j
> How would I port forward? I would like to get port 9981 open, which I currently can't access it with my (Netmaker) Wireguard IP, but can with Tailscale. > > I have netmaker server installed on the VPS on which I have the program installed which requires the use of port 9981, and Netclient on the remote machine on which I need to access 9981. Hope I'm making sense here
@calm-needle-92475 answering your question here
the issue is that the netmaker server keeps wireguard contained within Docker, so it's not visible on the host
you can either: 1. deploy an additional netclient on the host 2. use the port forwarding feature on the netmaker server
c
So basically if I install netclient on the host running Netserver I should get access to those ports on the other machine?
j
For option #2 - In docker-compose, set: - MANAGE_IPTABLES=on - PORT_FORWARD_SERVICES="127.0.0.1:9981:9981"
for option #1 yes, that should work
c
lemme try option one, and I'll get back to you
okay after trying option 1, I lost the web interface. But can still access ports via my Tailscale interface. What's the right port to access the Netmaker interface via Tailscale?
I lost the web interface due to the fact that the host is connected to another server in egress mode
I get a 404 page not found
j
I'm confused 9981 is the tailscale port?
maybe im not understanding what you're trying to do here...access netmaker over tailscale?
c
9911 is TVHeadend - I am trying to access my TVheadend service via Wireguard which I can do via Tailscale currently
9981*
How do I edit docker-compose?
port forwarding seems like the only logical approach
I'm running the quick install script version.
j
You just need to do docker-compose down, edit, and docker-compose up
c
Okay docker-compose down worked, but how does one edit.
root@freeview-nz-mux:~# docker edit docker: 'edit' is not a docker command.
root@freeview-nz-mux:~# docker-compose edit No such command: edit
j
vim
c
Where's the usual path to the file that needs editing? So sorry I am noob when it comes working with docker.
okay found it - now how to forward port 9981 from my host to docker, so that I can access it on my mesh network
what needs to be done, I hope I'm being clear. Sorry for the confusion is that I need access my TVHeadend server over a wireguard VPN. As I'm running a high speed link between two locations. For this I need access to Port 9981 on a VPS on the other side of the world. Whenever I open port 9981 with my Tailscale IP, on another I get err_connection refused. Which means the port is shut. This is so frustrating, so close yet so far.
so port 9981 from the host machine needs to be accessible from my docker container, and then in turn over my Wireguard mesh network.
16 Views