Am Fri, 19 Jan 2018 12:55:20 -0200 schrieb Michel von Behr <michelb...@gmail.com>:
> Hi - rookie question: I have ADSL internet at home, distributed to > local hosts via a cheap modem/router provided by the ISP. And > connected as one of the network nodes is an old laptop running > OpenBSD. I want to use that laptop as a webserver, ftp server, etc. I > can connect to the laptop internally, from within the local network > (192.168.15.11) via http, ssh, ftp, etc, but I can't see it from > external hosts. I already tried different configurations in the > router/modem related to port forwarding, NAT, but without success, so > I'm starting to think that it might be something I'm missing on > OpenBSD network config (PF maybe?). > > I tried enabling ip forwarding in sysctl but I still can't see it from > outside hosts. > > Specifically, my question would be this: if I can see my laptop from > within the local network, would that be enough to guarantee that I > should be able to detect it externally? No. You have: { WAN (Internet) } <--> { Router } <--> { LAN (192.168.15.0) } A host in WAN can only see your Router you have to forward ports from {router} to {lan} but I wouldnt recommend that. Maybe read something about networking and NAT and such things to get a deeper understanding? ;-)