114 Replies
Ok
You here?
yep
the china server can see the hk server fine?
i guess?
cuz im in china
and im using vmess to route my traffic on to the hk server
Yeah that is hard to do via ssh
The hk server is running linux
yes
Operating system: Ubuntu 20.04 x86_64
GitHub
GitHub - angristan/wireguard-install: WireGuard VPN installer for L...
WireGuard VPN installer for Linux servers. Contribute to angristan/wireguard-install development by creating an account on GitHub.
This script should install it
okay give me a second
I am afraid that that script will fail too....
why
i think it worked
Ok ok
i mean
hk doesnt have firewall like china
oh yeah I am stupid
at the end it should give a conf file
it ask me a bunch of things do i just press enter
Yeah that's good
okay it gives me a qr code and a config file
You will need the config
i have it
sudo apt install wireguard
on the china serverokay done
Ok you need to copy that config to a file called
wg0.conf
on the china serverunder root?
yeah
okay done
nmcli
gives stuff back correct?its not installed give me a sec
uhm
then don't
dont install it?
Because your server is using something different then networkmanager
Maybe
netplan
netplan works
ok I need to think up a netplan config then
okay thank you so much
do u need the .conf file?
ls /etc/netplan
are there any files there01-netcfg.yaml
cat /etc/netplan/01-netcfg.yaml
give itThis file describes the network interfaces available on your system
For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
enp5s0f0:
dhcp4: no
addresses: [103.222.188.116/24,10.222.188.116/24]
gateway4: 103.222.188.254
Oh wait does
wq-quick
workwq-quick: command not found
and just
wg
it doesnt give anything
and how about installing
wireguard-tools
?
sudo apt install wireguard-tools

Is there a directory
/etc/wireguard
?yes
Ok 🙂
copy that config into their
okay
done
sudo wg-quick up wg0
this will not work?
gives this
oh a common problem
wait
okay
ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
and run againstill gives the same thing
like this

sudo apt install openresolv
hmm

why is this even banned wtf
Nah
it's the wireguard
maybe reboot?
okay
okay installed
resolvectl
works?resolvectl: command not found
sudo apt install resolvconf

hmm
hmmmmmnn
sudo systemctl disable wq-quick@wg
works?i cant ping archive.ubuntu.com
Failed to disable unit: Unit file [email protected] does not exist.
i cant ping archive.ubuntu.com on my computer with vpn turned off too
so i think china bans it?
Uhmmm
maybe
does china have ubuntu mirrors?
i think i have tsinghua mirror on this let me check
yes i have tsinghua university mirror but it wont use it
you need main
whats main
apt update
i think i did that before but ill do it again

umm
idk why does this happen
Well does mirrors are def blocked then
.......why
i hate china
well who doesn't hate it
yea true
is there any way i can install it from offline package or something idk
Yeah a deb
how can i do that
Is there any way for you to use ubuntu 18.04 or 20.04?
i am on ubuntu 18.04
xenial is 16.04
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-153-generic x86_64)
in the ubuntu mirrors
but
the
thing says im on 18.04
wait but if im on 16.04 the script wont work right?
Yeah
is the system broken
I am not too sure
nothing I told you to do has changed the mirrors
so that must have been like that already
i change mirror every time if the server is in china
hmmmnn
then maybe instead of bionic you wrote xenial?
ohhhhhhhhhhhhhhhhhhhhhhhhhh im too stupid
its been xenial the whole time
i can install resolvconf now

is this what it supposed to give?
but i cant do anything else with this
another ssh session curl your ip
i cant connect to it anymore
and the exsisting seession?
the existing one works fine
but i cant make any new ssh connection
umm the existing one got disconnected too and i cant connect to it anymore


restart server?
okay
server provider is not replying i think i would have to restart it tomorrow :(
yeah it is kinda hard
I am not usre if it will work
why not
what should i do after server reboot cant do
sudo wg-quick up wg0
again rightNo, it will be the same as before again
what should i do
I am not too sure. When wireguard connects it drops your connection via normal public IP.
um so if i connect so the port set on the hk server will it connect to the china server?
idk
It may be possible for you to ssh to the china server from hk server wg ip.
yea thats what im saying
ill try
But be careful bcs you will maybe need to reboot again
okay