Gotham
Gotham
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
thanks for your help tho
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
No description
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
No description
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
No description
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
No description
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
already done it
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
Chain PREROUTING (policy ACCEPT 13521 packets, 577K bytes)
pkts bytes target prot opt in out source destination
18 1080 DNAT tcp -- any any anywhere anywhere tcp dpt:25565 to:10.20.4.2:25565
0 0 DNAT tcp -- any any anywhere anywhere tcp dpt:25565 to:10.20.4.2:25565

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain POSTROUTING (policy ACCEPT 71 packets, 4938 bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- any esn3 anywhere anywhere
0 0 MASQUERADE all -- any esn3 anywhere anywhere
Chain PREROUTING (policy ACCEPT 13521 packets, 577K bytes)
pkts bytes target prot opt in out source destination
18 1080 DNAT tcp -- any any anywhere anywhere tcp dpt:25565 to:10.20.4.2:25565
0 0 DNAT tcp -- any any anywhere anywhere tcp dpt:25565 to:10.20.4.2:25565

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain POSTROUTING (policy ACCEPT 71 packets, 4938 bytes)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- any esn3 anywhere anywhere
0 0 MASQUERADE all -- any esn3 anywhere anywhere
it seems to be
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
(copy pasted, dont mind)
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
So, hello, i am messing around with the guide, and this is my config (client)
[Interface]
PrivateKey = key
Address = 10.20.4.2/24
Table = 1

PostUp = ip rule add pref 500 from 10.20.4.2 lookup 1
PostDown = ip rule del pref 500

[Peer]
PublicKey = key
AllowedIPs = 0.0.0.0/0
Endpoint = [vps ip]:51820
PersistentKeepalive = 25
[Interface]
PrivateKey = key
Address = 10.20.4.2/24
Table = 1

PostUp = ip rule add pref 500 from 10.20.4.2 lookup 1
PostDown = ip rule del pref 500

[Peer]
PublicKey = key
AllowedIPs = 0.0.0.0/0
Endpoint = [vps ip]:51820
PersistentKeepalive = 25
(server)
[Interface]
PrivateKey = key
PostUp = iptables -t nat -A PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.20.4.2:25565
PostUp = iptables -t nat -A POSTROUTING -o esn3 -j MASQUERADE
PostDown = iptables -t nat -D PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.20.4.2:25565
PostDown = iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE

ListenPort = 51820
Address = 10.20.4.1/24

[Peer]
PublicKey = key
AllowedIPs = 10.20.4.2/24
[Interface]
PrivateKey = key
PostUp = iptables -t nat -A PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.20.4.2:25565
PostUp = iptables -t nat -A POSTROUTING -o esn3 -j MASQUERADE
PostDown = iptables -t nat -D PREROUTING -p tcp --dport 25565 -j DNAT --to-destination 10.20.4.2:25565
PostDown = iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE

ListenPort = 51820
Address = 10.20.4.1/24

[Peer]
PublicKey = key
AllowedIPs = 10.20.4.2/24
and i can ping from both sides, attach ports and listen through netcat and telnet from both sides, except the port 25565, that doesnt work for some reason. also, if i run the minecraft server (or anything really) on port 25565, and try to connect to vps's ip:25565, that doesnt work, so i am guessing forwarding isnt happening? i have the ports opened and ipv4 forwarding enabled in sysctl.conf, idk what else i can do
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
i already have
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
pretty sure that doesnt have a permanent link/whatever
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
i mean, i am fine with using anything other than wireguard, its not a hard necessity
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
also i already have a vps so
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
ngrok is almost 5x more expensive than a vps
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
yeah, and i want to use a vps to tunnel with wireguard
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
?
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
would prefer to use a custom vps, since its cheaper and kind of gives more freedom
38 replies
AAdmincraft
Created by Gotham on 7/20/2024 in #questions
fastest way to tunnel my locally-ran minecraft server to my vps to make it publically accessible?
cgnat so i need to
38 replies