GithubHelp home page GithubHelp logo

Comments (2)

gr3p1p3 avatar gr3p1p3 commented on June 3, 2024

Fixed, please download @1.6.4 :) and let me know if it works!

from transparent-proxy.

gr3p1p3 avatar gr3p1p3 commented on June 3, 2024

Ok I setup a server to test this issue :)

root@vps73857815194:/home/proxyTest# uname -a
Linux vps73857815194 5.4.103-1-pve #1 SMP PVE 5.4.103-1 (Sun, 07 Mar 2021 15:55:09 +0100) x86_64 x86_64 x86_64 GNU/Linux
root@vps73857815194:/home/proxyTest# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 5.230.70.118  netmask 255.255.255.0  broadcast 5.230.70.255
        inet6 fe80::806e:5dff:febb:bdee  prefixlen 64  scopeid 0x20<link>
        ether 82:6e:5d:bb:bd:ee  txqueuelen 1000  (Ethernet)
        RX packets 2257060  bytes 688355452 (688.3 MB)
        RX errors 0  dropped 239428  overruns 0  frame 0
        TX packets 233  bytes 29200 (29.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 5.230.68.16  netmask 255.255.255.0  broadcast 5.230.68.255
        inet6 fe80::f0b0:afff:fe01:7cc7  prefixlen 64  scopeid 0x20<link>
        ether f2:b0:af:01:7c:c7  txqueuelen 1000  (Ethernet)
        RX packets 2285902  bytes 842253206 (842.2 MB)
        RX errors 0  dropped 239242  overruns 0  frame 0
        TX packets 23065  bytes 2658019 (2.6 MB)
        TX errors 0  dropped 1 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 257  bytes 59283 (59.2 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 257  bytes 59283 (59.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
const ProxyServer = require('transparent-proxy');

const server = new ProxyServer({
    verbose: true,
    tcpOutgoingAddress: function (data, bridgedConnection) {
        //return '5.230.70.118';
        return '5.230.68.16';
    },
});

server.listen(8080,'5.230.70.118',function () {console.log('TCP-Proxy-Server started!', server.address());});
node test.js
TCP-Proxy-Server started! { address: '5.230.70.118', family: 'IPv4', port: 8080 }
root@vps73857815194:/home/proxyTest# curl -x 5.230.70.118:8080 https://ifconfig.me/
5.230.68.16

Closed!

from transparent-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.