Configurations of port forwarding and virtual hosts

Troubleshooting with your custom scripts/programs installed on Polarhome.

Moderator: Moderators

Configurations of port forwarding and virtual hosts

Postby xinim_minix » Thu Apr 07, 2016 12:38 am

It seems to me polarhome is configured such that port 22 is sometimes routed to the appropriate host-specific port. For example, this logs me in to Free BSD, as you might expect.
Code: Select all
ssh tlevine@freebsd.polarhome.com

this logs me in to Red Hat.
Code: Select all
ssh tlevine@minix.polarhome.com

The latter behavior is what I expect from the port forwarding documentation, but I prefer the former.

If someone tells me what software we are using to specify these mappings, I might eventually finish the configuration file such that all domains are routed the same way and then write some documentation.
xinim_minix
Newbie
 
Posts: 1
Joined: Thu Apr 07, 2016 12:02 am
Location: Scarsdale USA

Re: Configurations of port forwarding and virtual hosts

Postby zoli » Wed Aug 31, 2016 10:19 pm

Hi,

the answer is very simple.

If the host has IPv6 address and the remote user has also IPv6 connection the domainname will be resolved... if not the default IPv4 address will be taken an that it routed to redhat (because some old historical reasons)

Hope this explanation helps.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 784
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden


Return to Troubleshooting

Who is online

Users browsing this forum: Google [Bot] and 8 guests

cron