solution for cgnat

i need a solution to port forward from home server running win11 over network while connected to a cgnat network
X
xB4CKD00R35d ago
only need to port forward tcp/udp
D
DirtyJ35d ago
If you're behind a nat that you can't control, then port forwarding directly to a public IP may not be an option. However, if your ISP provides you with a public IP (instead of them distributing one IPv4 address to several homes), then it would be a lot easier. In those cases, something like tunneling (e.g. with Cloudflare tunnels) or using a VPN that allows for port forwarding would be an easier option. All depends on what you have control over with the network devices you own
X
xB4CKD00R35d ago
i have no public ip thats the issue detected ip in router is different from the one assigned to me
D
DirtyJ35d ago
Then unless you can get the ISP to forward a port that you've already forwarded through the routers in your control, you won't have direct access to forward the port all the way out
X
xB4CKD00R35d ago
look at this its insane
X
xB4CKD00R35d ago
No description
X
xB4CKD00R35d ago
its actually 3 hops from the first router to network cause 192.168.192.1 is my antenna
D
DirtyJ35d ago
None of those are public IPs
X
xB4CKD00R35d ago
i know im showing u how the nat is working theres no way to port forward through all this
D
DirtyJ35d ago
Not unless you have control of each device along the private hops
X
xB4CKD00R35d ago
i dont for the 3 censored ones its isp
D
DirtyJ35d ago
Then they would need to forward the port for you, which given the scenarios that a cgnat is used in, I find that unlikely to happen
X
xB4CKD00R35d ago
exactly so whats the solution
D
DirtyJ35d ago
Tunnel or VPN
X
xB4CKD00R35d ago
for free whats available and how many ports? i mean i dont know any of these and wanna spend well if i have to pay lol
D
DirtyJ35d ago
Cloudflare is free if you own a domain (standard domains ain't that expensive in the grand scheme of things)
X
xB4CKD00R35d ago
i mean is that the best way to host for example steam servers from home server? i ll usually use from 5 to 6 ports tcp/udp
D
DirtyJ35d ago
Here's some services that can do what you're looking for with varying price tags: https://www.zerotier.com/ https://ngrok.com/ https://portmap.io/ https://playit.gg/ I've only ever used the first two
ZeroTier | Global Area Networking
ZeroTier enables secure, modern overlay networking for the Internet of Things, Industrial IoT, RMM, Remote Access, Embedded Networking, SD-WAN, VPN, and more.
ngrok | Unified Application Delivery Platform for Developers
ngrok is a secure unified ingress platform that combines your global server load balancing, reverse proxy, firewall, API gateway and Kubernetes Ingress Controller to deliver applications and APIs.
Portmap.io
Portmap.io - free port forwarding solution
Expose your local PC to Internet from behind firewall and without real IP address
X
xB4CKD00R35d ago
zerotier is basically a hamachi? lol
D
DirtyJ35d ago
Correct
X
xB4CKD00R35d ago
nah i dont want that lol
D
DirtyJ35d ago
Except not run by logmein Lmao
X
xB4CKD00R35d ago
i want something that leads to www network not a virtual lan xD
D
DirtyJ35d ago
The other three are more public facing
X
xB4CKD00R35d ago
ngrok and portmap?
D
DirtyJ35d ago
Correct
X
xB4CKD00R35d ago
which one is better ? lol
D
DirtyJ35d ago
I've seen a lot of folks use ngrok and recommend it, I just found the other two while Google searching
X
xB4CKD00R35d ago
i see thanks ll test and let you know
D
DirtyJ35d ago
Best of luck :Salute:
X
xB4CKD00R35d ago
is there a way to make the ngrok ip always the same also how to make it tcp and udp both its different ip for each tcp and udp port wont work like that lol maybe the best solution is really use a domain
W
w33t35d ago
Ngrok will give you a domain and I think there is a way to do a custom domain or at least a static one. I believe there is another service that lets you being a custom domain, but I'll have to go digging for it
X
xB4CKD00R35d ago
and probably its paid :pepehehe:
W
w33t35d ago
Yes, things aren't free to run and operate
W
w33t35d ago
localhost.run | localhost.run
Connect web applications running on your computer to the internet instantly
X
xB4CKD00R35d ago
hmm so many choices i honestly dont know what to choose anymore
D
DirtyJ35d ago
Wheel of Names
Enter names, spin wheel to pick a random winner. Customize look and feel, save and share wheels.
D
DirtyJ35d ago
fr tho probably just look through those and find one that is the closest to your budget and give it a shot weird nats = weird solutions
X
xB4CKD00R35d ago
Just give me your opinion Cheapest and best solution to port forward ports from win11 TCP UDP What would you do
D
DirtyJ35d ago
I'd go down the list, try ones until one works
X
xB4CKD00R35d ago
Can't pay and just abandon it Lol
D
DirtyJ35d ago
some of them have free tiers or trials
X
xB4CKD00R35d ago
Should I just use cloudflare? And buy a 1$ domain
D
DirtyJ35d ago
Cloudflare tunnels are more for these types of applications: https://developers.cloudflare.com/cloudflare-one/applications/ Since you mentioned running game servers, a service that allows for that kind of traffic (like the four here) would be better You could use Cloudflare Spectrum for game servers, but that's money This one has a free tier you could experiment with that sounds exactly like what you described https://playit.gg/
X
xB4CKD00R34d ago
This looks nice Ll test when home Is it possible to forward from my home server to a vps and use its public IP to publish stuff? "hybrid setup where you continue to host them at your location behind your CGNAT but establish a VPN tunnel from your location to a VPS or something similar where you can get a public IP address and then use that as the entry point for your users to hit your server over the VPN." Ah wtf Its basically making a VPN from the vps And connect to it through a client from your home server
D
DirtyJ34d ago
that is pretty much what all of those solutions are, either that or a proxy that you connect to
X
xB4CKD00R16d ago
ok can you help me take a decision? xD till today i did nothing @DirtyJ @weet hope im not disturbing by pinging ayo i got a vps running ubuntu 20.04 and i successfully made a wireguard tunnel its working great and fast speed i can't manage to expose the stuff i host from the pc at home ?
D
DirtyJ16d ago
Any application you want to be publicly accessible like that will need to either be forwarded (which you can't do given the network limitations), proxied, or tunneled out of there
X
xB4CKD00R16d ago
LOL u can open ports on amazon vps for free there is no router behind you just open the firewall on the vps page and im doing it but for some reason its not working
D
DirtyJ16d ago
Oh if you're referring to a different issue, probably time to make a new thread. We were looking at your fun natting in here
X
xB4CKD00R16d ago
im doing a small test Trying to espose the minecraft server hosted on my home server which is connected to the wireguard VPN hosted by my vps
W
w33t16d ago
:PES_HuhWtf:
X
xB4CKD00R15d ago
doesn't make sense to you? i find it quite simple expose to the internet the server hosted on the client connected to the vpn
D
DirtyJ15d ago
so what's your question lol
X
xB4CKD00R15d ago
how do i allow the traffic coming from the vpn client to go over to the internet basically the vps has to send the traffic from the pc connected to its vpn to the open internet using the vps public ip
D
DirtyJ15d ago
forward the port to the client's VPN IP on the VPS
X
xB4CKD00R15d ago
i did ayyyyyyy i did it! 😄 PostUp = iptables -t nat -A PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.155.88.2:25565 PostUp = iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE PostDown = iptables -t nat -D PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.155.88.2:25565 PostDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE this was missing
W
w33t15d ago
It makes perfect sense, I just don't get the point
X
xB4CKD00R15d ago
I was missing IP tables rules
W
w33t15d ago
I... I see that lol :Facepalm:
More Posts
Managed Devices from Microsoft to Google WorkspaceDoes anybody have any experience migrating a company from Microsoft to Google Workspace? The companyTestBedMy group has been given a task to make a responsive testbed. My test bed consists of qubo smart bellHelp With My Dissertation Project.Hey guys just need some help with my project. Basically what i need is a lot of malware files or virVirtual Box kali linux issuehelp me with it plsNetwork Helpso i have a rgh xbox 360 and i host a stealth server( for xbox 360) and this dude sends thousands ofI need help! on OT/ICSHello, I need some help. If anyone knows about Operational Technology (OT) and Industrial Control Syissue with flutter codeanybody has notes for Disassembler vs. Decompilerbecause i wants to make a presentation about this, so if anyone have some note or book to refer it whacked problemFrom the beginner point of view how to know whether a pc is hacked or not and if then how to solve tGeneral questionDoes anybody know of an extension/website or a VPS where I can simulate an ubuntu environment and inMalware how to removeCan anyone help me with this program that showed ob my laptop i cant remove it , its called x firefoneed help on AIHello i am a student and I have an end year project about detecting DNS attacks with AI but I don't Zoom Phone OffboardingI work for a company that recently switched to Zoom and I am having trouble figuring out how to handBlocking ads via the Windows FirewallAd Blocker is a type of software whose purpose is to block advertisements that appear on websites. CVNC server Windows 10which vnc is reliable and after chosen one how to set up it to connect with a vnc viewer.Computer Had a stroke now everything loads super slow...Hello, my computer recently randomly started acting up and became super slow.. Impossible to click oSSL stripping and detecting a possible malware infectionHey folks, can someone with cyber security skills assist me with something? I rented a bedroom wherAAL layersi have this question ive ben stuck on for a while if anyone can help out, AAL2, AAL3/4 and layers rHelp i need some suggestion or ideahi everyone, my teacher at university gives us several projects every month. one of the projects is SQLi without spaces - CTFHi guys!! How are you? I’m struggling with a CTF challenge from a event in my town, and I’m stuck i