Temporalitas / ipv6-proxy-server

IPv6 backconnect proxy server /64 and /48 subnet for any debian-based distro
MIT License
92 stars 54 forks source link

Help needed #29

Closed carolinaxxxxx closed 1 week ago

carolinaxxxxx commented 3 months ago

@Temporalitas I took it to the test VPS from FranTech (buyVM) with full Routed Subnets /48

I'm trying to implement a proxy, but unfortunately I'm having difficulty.

Settings from the VPS panel:

obraz

obraz

obraz

obraz

Ubuntu 24.04.

Netplan config:

network:
  version: 2
  ethernets:
    eth0:
      dhcp4: true

      # Configuration for IPv6
      dhcp6: no
      addresses:
        - 2605:6400:30:XXXX::1/48
      gateway6: 2605:6400:30::1

ifconfig:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet XXX.XXX.XXX.XXX  netmask 255.255.255.0  broadcast XXX.XXX.XXX.XXX
        inet6 2605:6400:30:XXXX::1  prefixlen 48  scopeid 0x0<global>
        inet6 fe80::216:c5ff:fec3:XXXX  prefixlen 64  scopeid 0x20<link>
        ether 00:16:c5:c3:d2:b3  txqueuelen 1000  (Ethernet)
        RX packets 68055  bytes 86123639 (86.1 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15187  bytes 1560835 (1.5 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

After:

./ipv6-proxy-server.sh -s 48 -c 100 -u XXX -p XXX -t socks5 -d

Response:


IPv6 interface is enabled
IPv6 global address is allocated on server successfully
Test ping google.com using IPv6 successfully
IPv6 network sysctl data configured successfully

All required packages installed successfully

Downloading proxy server source...
Proxy server source code downloaded successfully

Start building proxy server execution file from source...
Proxy server builded successfully
Proxy startup script added to cron autorun successfully
UFW protection disabled, ports for backconnect proxy opened successfully

IPv6 proxy server started successfully. Backconnect IPv4 is available from XXX.XXX.XXX.XXX:30000:XXX:XXX to XXX.XXX.XXX.XXX:30099:XXX:XXX via socks5 protocol
You can copy all proxies (with credentials) in this file: /root/proxyserver/backconnect_proxies.list
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet XXX.XXX.XXX.XXX  netmask 255.255.255.0  broadcast XXX.XXX.XXX.XXX
        inet6 2605:6400:30:68a4:72a1:a6b6:b835:8320  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:ef3e:5f7d:3f37:5be5:5562  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:d0d:8506:ef7f:5d1e:68e4  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b477:4662:ab88:30cd:9339  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:e747:95d6:f4d3:5de5:2ce2  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b9c1:280c:8937:5e70:4e83  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:1d7f:1cd7:d69e:b4c:3936  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:5fb1:54d2:6601:a9c:12b0  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:100a:f1c5:e2e2:d7:bf57  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:afce:1d93:155c:7082:df7e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:fff0:4949:ecb9:c01c:6d0a  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:5184:93e6:5710:49d:1119  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b6d5:547e:b75d:60bb:d388  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b48:d2dd:bd2:af4c:5341  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:1b9:81ba:9d:4c68:4d9c  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:XXXX::1  prefixlen 48  scopeid 0x0<global>
        inet6 2605:6400:30:1d54:eda5:9e5:8d76:5d  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b6a9:8cfd:55f1:ea56:c57c  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b2c0:9e14:cae5:22c4:4d60  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:31ed:9815:fa50:41b4:5f91  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:81df:1d4d:c4a2:70cf:200a  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:d458:412f:c260:e4fb:9fd1  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:7e3:ba6f:3479:c025:1942  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:7bb7:2326:7463:4c0e:97fd  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:c977:4e71:536d:f70c:844e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:6af8:82e6:ac5f:7f13:1b0f  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:9eaf:fda:5539:1160:e15e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:7c0:c388:977b:c24d:a6c6  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:42ba:d68a:bc56:4ad8:6510  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:eb5e:efc7:381d:9806:8ccf  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:5b3:daff:f3a4:1c27:65a7  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:14a2:10ab:e3bb:fa28:d02  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:1755:c681:1b79:b229:63d5  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:359a:5913:38b1:567:547f  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:3ec6:4cc:32fd:75a9:4ea0  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:8df3:e9ff:d101:473b:458c  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:a4b6:8808:1130:5d1d:3e6e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:4aa0:c837:9368:edb1:adc3  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:4f2b:2154:95f6:7196:eb1c  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:99e0:9f69:ce5c:2b6:61aa  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:a62c:ffc9:1354:1693:a857  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:903a:49d6:4d20:619:3962  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:ad0e:4b59:291e:d878:3155  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:1d12:3f4f:e25e:607a:f9a8  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:436:fa28:849f:85e9:565a  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:d639:79b3:158a:a115:f240  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:1ce7:6578:a991:5e93:ae2  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::216:c5ff:fec3:XXXX  prefixlen 64  scopeid 0x20<link>
        inet6 2605:6400:30:b4f4:bd72:7813:fc25:83c3  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:d57c:9109:d281:54bc:ae6b  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:c863:337a:559d:22dd:f64e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:e23e:4f54:5e8:f59c:bf09  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:2701:1034:5ad8:cd8e:31e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:eef4:7107:15ef:5a7c:17f7  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:dcc:d1eb:75ff:e95b:7bd1  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:56f4:c10c:99bb:3220:39fc  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:7081:167a:61eb:e5ba:7261  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:413b:21cc:31a9:52e8:a3ff  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:ed21:ea90:c7c4:77fa:64f5  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:30b4:f858:ebde:daee:bc1e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:a964:f54b:c6b8:1e36:3b5b  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:4f6d:b9af:b743:8623:17a4  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:564c:5875:410f:693:50af  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:fe32:1b26:6e5c:17e2:63dc  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:cd2f:3501:e1db:5c6b:be17  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:10dc:1cb8:165e:b3af:2cfd  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:e5c1:1293:c874:770c:d912  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:84e2:e3b5:ff79:816f:a064  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:cd1d:6dd2:ff37:b779:2f6c  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:3043:76ed:eab5:daa:cf45  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:c690:e6ee:797b:e4bb:e295  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:cb1e:d23d:7e86:bb79:1680  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b8aa:dbc6:c7a5:5f5d:4b1f  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:44b0:f544:e1f5:6417:e1da  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:63ea:cacd:a7ef:95a5:fb02  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:23eb:4c22:b3e5:78a0:f07  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:a672:4589:892c:abaf:a44d  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:f2c5:61de:3511:b689:f438  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:1ffe:1758:a465:2847:7d83  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:f4fc:84e1:fefd:123a:4811  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:ef5e:b853:dc9a:f393:565f  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:d697:4fff:1fc4:98eb:68df  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b529:afb6:9d1d:8724:99e  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:1fea:4b7a:8503:80a5:f46c  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:bdf9:bb88:ed3c:4ec4:4440  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:491e:3294:9fe1:7a41:d9db  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:2dbc:46fe:755e:cb0c:7aa0  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:d370:c2e:b816:303:a795  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:9273:a5d5:1dab:691e:8fc5  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:196c:8e63:f6dc:6331:79a0  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:7b3:b66f:6695:4f0:1af0  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:15a:ae68:c6f7:acc2:2741  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:ccb6:722f:a6b8:36e2:b04f  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:fe31:56cc:5622:9ad1:a1bc  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:17fc:927b:b736:1a38:687f  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:3a9c:8ce6:d6aa:6133:5848  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:ecfe:4f21:d8cd:6e81:e48f  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:574b:e984:bf92:158:be22  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:eee6:d6f1:d04e:57ba:4b4b  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:b15b:cec7:a330:9dd0:d818  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:9d2b:3d34:ce9:f16:cf57  prefixlen 128  scopeid 0x0<global>
        inet6 2605:6400:30:4584:b695:eb97:6bde:ed60  prefixlen 128  scopeid 0x0<global>
        ether 00:16:c5:c3:d2:b3  txqueuelen 1000  (Ethernet)
        RX packets 71730  bytes 87109042 (87.1 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15711  bytes 1620034 (1.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Unfortunately, I cannot connect to the world via proxy in any way. What could be wrong? What am I doing wrong? I will be grateful for help. Thanks in advance.

Temporalitas commented 2 months ago

Did you try to add one address from subnet manually and connect to IPv6 checker via curl with added interface?

carolinaxxxxx commented 1 month ago

Hi,

thanks for reply. I changed VPS to Aeza. Everything works out of the box on Debian. Good job!

środa, 4 września 2024 01:07, Tenebris @.***> napisał(a):

Did you try to add one address from subnet manually and connect to IPv6 checker via curl with added interface?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>