Port forwarding with VM

Anything goes.
Post Reply
thundercatz
Posts: 8
Joined: Sun Apr 12, 2020 10:01 pm

Port forwarding with VM

Post by thundercatz » Thu Aug 27, 2020 11:02 am

I have a couple of questions. I set up an account and domain with no-ip.com, forwarded my port 23 on my router, and have worldgroup running successfully with local connections working fine on a VM. But when I test my port with canyouseeme.org, it seems as though port 23 is being blocked somehow.

1. besides setting my router to allow port 23 do I need to change any other settings for external access?

2. my VM that worldgroup is running on shows the same external IP as my laptop, do I need to forward the port for the VM separately?

3. I never installed Dialsoft. Will this prevent my machine from accepting outside connections?

Thank you in advance!


User avatar
BearFather
Posts: 567
Joined: Sun Feb 09, 2014 6:27 pm
Location: Portland, OR
Contact:

Re: Port forwarding with VM

Post by BearFather » Fri Aug 28, 2020 10:50 am

my VM that worldgroup is running on shows the same external IP as my laptop, do I need to forward the port for the VM separately?

That line confuses me. But you want to forward port 23 to the vm that is running the wg server. So when people hit port 23 you want it to forward to that host.

It was very common in the day for ISPs to block port 23 so people can't host a telnet server. Try moving the port and see if that helps.


Bloodrock
Posts: 289
Joined: Mon Jul 16, 2012 9:02 pm

Re: Port forwarding with VM

Post by Bloodrock » Fri Aug 28, 2020 7:16 pm

you need to use your isp assigned number not your laptop lan number actual number to use is the default gateway do a ipconfig to see all the info needed default gateway dns etc. example my vm uses 192.168.1.79 which is my lan ip for people to connect to my bbs they have to use 99.11.43.123 which would be the isp assigned ip. for wg ip itself you use the lan ip but for the dns service your useing you use isp assigned good way to see your isp ip is to go to find my ip .com


thundercatz
Posts: 8
Joined: Sun Apr 12, 2020 10:01 pm

Re: Port forwarding with VM

Post by thundercatz » Sat Aug 29, 2020 1:46 am

I meant that when I go to IPChicken, it shows the same external IP on my VM as it does my laptop thats hosting the VM. On my routers settings, when I choose a machine to port forward, I didnt know if I should choose my laptop, since the VM gets its internet connection though the laptop. I used ipconfig in the VM, and set up my ddns, and set the port forward for 23. but it still gets no response. I'll Im try a random port and see if it works. My ISP is Frontier, not sure if they block that port or not.


thundercatz
Posts: 8
Joined: Sun Apr 12, 2020 10:01 pm

Re: Port forwarding with VM

Post by thundercatz » Sat Aug 29, 2020 1:54 am

I have my dns pointed at my ISP IP, that was found via IPchicken. Do I need to change settings in wg to run on another port besides 23? Its saying 'connection refused' when I try any port.


Bloodrock
Posts: 289
Joined: Mon Jul 16, 2012 9:02 pm

Re: Port forwarding with VM

Post by Bloodrock » Sat Aug 29, 2020 8:27 am

check your firewall also check router see if it offers dmz and use that rather than port forwarding no idea if your connected directly to your cable/dsl modem from your internet service you wired or wifi who's your provider i have at&t and use dmz but only for telnet i do not have port 80 open for the web side of wg


User avatar
BearFather
Posts: 567
Joined: Sun Feb 09, 2014 6:27 pm
Location: Portland, OR
Contact:

Re: Port forwarding with VM

Post by BearFather » Sat Aug 29, 2020 10:22 am

I still advise against dmz. But if your router can portfoward from 1 port to another then you can change it that way. Otherwise you need the tcp/ip dll that gives you the abil to change the port in WG.

Also you want to forward the port the VM is using not the laptop, unless your using some sort of nat and not bridged in the network settings of the VM>


Post Reply