Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 
freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2910981 6-May-2022 13:18
Send private message

simophin:

 

So your suggestion won't work in the OP's case. There's no way to forward the request to a connection behind the CGNAT. 

 



Did I mention remote forward? You establish connection from home to the VM and the ssh does the port forwarding for you:

ssh -R 80:localhost:80 -R443:localhost:443 root@public_server -NC -g

Note you need to have gateway ports turned on on the server.

If you need UDP you will have to set up VPN but I find ssh so much easier if you only need to do TCP stuff.

Love zerotier too but I find the ssh method much faster, especially with the use of weak/hardware accelerated cipher for the https traffic.

 

 

You're right, it can be done this way. Or with Zerotier, or Tailscale.

 

We are getting away from the fundamentals though. The OP needs to balance their knowledge/willingness to run a VM, maintain it updated, etc. Or investigate the reason why using wireless - is it fibre not an option?

 

There are things that we would need to know before giving one solution - as it sits at the moment it can be done in a variety of ways but we don't know for sure which one is best for the OP. I hope we will find out more soon.





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup




zaschf

5 posts

Wannabe Geek


  #2911078 6-May-2022 15:41
Send private message

freitasm:

 

Did I mention remote forward? You establish connection from home to the VM and the ssh does the port forwarding for you:

ssh -R 80:localhost:80 -R443:localhost:443 root@public_server -NC -g

Note you need to have gateway ports turned on on the server.

If you need UDP you will have to set up VPN but I find ssh so much easier if you only need to do TCP stuff.

Love zerotier too but I find the ssh method much faster, especially with the use of weak/hardware accelerated cipher for the https traffic.

 

 

 

You're right, it can be done this way. Or with Zerotier, or Tailscale.

 

We are getting away from the fundamentals though. The OP needs to balance their knowledge/willingness to run a VM, maintain it updated, etc. Or investigate the reason why using wireless - is it fibre not an option?

 

There are things that we would need to know before giving one solution - as it sits at the moment it can be done in a variety of ways but we don't know for sure which one is best for the OP. I hope we will find out more soon.

 

 

You're right about need to know more about the situation...

 

I'm about 3km out of town, hence the very slow ADSL I was trying to get away from. Fibre is not available and will not be available for pretty much never.

 

So, my only option was wireless internet.

 

How do people having security cameras around their house and want to remotely access them?

 

I know it is possible and probably not that difficult  to make it work. My solar system announces (tunnels) to a server in the USA every so many minutes for production data.

 

Anyway, I know what to overcome and there are several options available.

 

Cheers...

 

 

 

 


freitasm
BDFL - Memuneh
79270 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #2911086 6-May-2022 16:03
Send private message

Most (good, secure) cameras use outbound connections. Forwarding an inbound connection to a camera is asking for trouble. People learn this very quickly...

 

Yes, there are ways of doing what you want. You will need to be creative. Perhaps if you have a NAS with Docker support you could run a container with something to connect to the outside world. Or if you have a Synology NAS you could run Tailscale on it (I run Tailscale on my NAS).





Please support Geekzone by subscribing, or using one of our referral links: Samsung | AliExpress | Wise | Sharesies | Hatch | GoodSyncBackblaze backup




nztim
3815 posts

Uber Geek

ID Verified
Trusted
TEAMnetwork
Subscriber

  #2911521 8-May-2022 12:22
Send private message

Run two connections, ADSL for access to your server and 4g for your general use/streaming etc

 


EDIT anything port forwarded needs to be 100% secure





Any views expressed on these forums are my own and don't necessarily reflect those of my employer. 


zaschf

5 posts

Wannabe Geek


#2911651 8-May-2022 16:29
Send private message

nztim:

 

Run two connections, ADSL for access to your server and 4g for your general use/streaming etc

 


EDIT anything port forwarded needs to be 100% secure

 

 

 

 

That will double the cost of my internet access.


zaschf

5 posts

Wannabe Geek


  #2911653 8-May-2022 16:35
Send private message

freitasm:

 

Most (good, secure) cameras use outbound connections. Forwarding an inbound connection to a camera is asking for trouble. People learn this very quickly...

 

Yes, there are ways of doing what you want. You will need to be creative. Perhaps if you have a NAS with Docker support you could run a container with something to connect to the outside world. Or if you have a Synology NAS you could run Tailscale on it (I run Tailscale on my NAS).

 

 

I did stuck it out with entrydns.net for my DDNS because they also provide VPN for just a few $$$ per year.

 

Only my server is on VPN with the rest of my home network just being my home network :-)

 

Problem solved.


PANiCnz
990 posts

Ultimate Geek


  #2911654 8-May-2022 16:44
Send private message

 Its already been mentioned by Cloudflare Tunnel is perfect for CGNAT connections, and its free. 


 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
gbwelly
1243 posts

Uber Geek


  #2911677 8-May-2022 19:48
Send private message

nztim: This is another example of not understanding the product your changing to before switching

 

Well ISPs are not good at communicating this in their advertising. Also does nothing to help OP.

 

 








1 | 2 
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.