Inbound network connections?

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
User avatar
MarisaG
Inquisitive Elf
Posts: 32
Joined: Wed Jul 03, 2019 8:22 am
Location: South San Francisco, CA
Contact:

Inbound network connections?

Post by MarisaG »

I am trying to get inbound connections to a app inside basilisk II (First Class) and within basilisk I can connect to the server no problem. But from outside basilisk the connections just hang. Is basilisk not able to accept incoming network connections? I heard this might be the case...
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Inbound network connections?

Post by adespoton »

MarisaG wrote: Sun Apr 24, 2022 11:51 pm I am trying to get inbound connections to a app inside basilisk II (First Class) and within basilisk I can connect to the server no problem. But from outside basilisk the connections just hang. Is basilisk not able to accept incoming network connections? I heard this might be the case...
The "slirp" Ethernet networking that's configured in a basic install uses NAT, and so is essentially firewalled. If you modify your preferences file on the command line, you can add port forwarding:
viewtopic.php?f=6&t=7782

Alternatively, you can switch from SLIRP networking to Tun/Tap networking, which is required for AppleTalk networking and other non-TCP/IP networking. This will also expose the emulated system directly to the network it's running on. There are wiki tutorials on how to set this up with OpenVPN and discussions regarding wired vs wireless networking on the forums.
User avatar
MarisaG
Inquisitive Elf
Posts: 32
Joined: Wed Jul 03, 2019 8:22 am
Location: South San Francisco, CA
Contact:

Re: Inbound network connections?

Post by MarisaG »

adespoton wrote: Mon Apr 25, 2022 4:10 pm
MarisaG wrote: Sun Apr 24, 2022 11:51 pm I am trying to get inbound connections to a app inside basilisk II (First Class) and within basilisk I can connect to the server no problem. But from outside basilisk the connections just hang. Is basilisk not able to accept incoming network connections? I heard this might be the case...
The "slirp" Ethernet networking that's configured in a basic install uses NAT, and so is essentially firewalled. If you modify your preferences file on the command line, you can add port forwarding:
viewtopic.php?f=6&t=7782

Alternatively, you can switch from SLIRP networking to Tun/Tap networking, which is required for AppleTalk networking and other non-TCP/IP networking. This will also expose the emulated system directly to the network it's running on. There are wiki tutorials on how to set this up with OpenVPN and discussions regarding wired vs wireless networking on the forums.
Thanks! I will take a look at that...
--- https://MacOS.Retro-OS.live - Portal for classic B&W Macs
--- https://macos.retro-os.live/index.php/firstclass/first-class-server-access - Info on accessing our FirstClass server
--- https://NewtonCity.org - Portal for the Apple Newton PDAs
Post Reply