Difference between revisions of "Transconnect"
From Notes_Wiki
m |
m |
||
Line 1: | Line 1: | ||
<yambe:breadcrumb>Network related tools</yambe:breadcrumb> | <yambe:breadcrumb self="Transconnect">Network related tools|Network related tools</yambe:breadcrumb> | ||
=transconnect= | =transconnect= | ||
Line 14: | Line 14: | ||
# Use | # Use | ||
#:<pre> | #:<pre> | ||
#:: export LD_PRELOAD=$ | #:: export LD_PRELOAD=$H<yambe:breadcrumb self="Transconnect">Network related tools|Network related tools</yambe:breadcrumb>OME/.tconn/tconn.so | ||
#:</pre> | #:</pre> | ||
#: in bash shell and then all future applications run from same shell would be able to connect directly via proxy speciffied in configuration file. You can also optionally create '<tt>~/.tconn/resolv.conf</tt>' and add other nameserver details in it. | #: in bash shell and then all future applications run from same shell would be able to connect directly via proxy speciffied in configuration file. You can also optionally create '<tt>~/.tconn/resolv.conf</tt>' and add other nameserver details in it. | ||
Note that this can be used in combination with andriod proxoid application to access Internet directly but local DNS is required to work for resolution. Or we can access websites or applications using IP address instead of hostname. | Note that this can be used in combination with andriod proxoid application to access Internet directly but local DNS is required to work for resolution. Or we can access websites or applications using IP address instead of hostname. | ||
<yambe:breadcrumb self="Transconnect">Network related tools|Network related tools</yambe:breadcrumb> |
Revision as of 08:40, 9 September 2018
<yambe:breadcrumb self="Transconnect">Network related tools|Network related tools</yambe:breadcrumb>
transconnect
We can use transconnect to tunnel direct connections via HTTP proxy so that applications that do not support proxy servers also work properly. For this to work proxy server must support CONNECT to remote host on given port numbers.
To use transconnect follow these steps:
- Download latest transconnect source code from https://sourceforge.net/projects/transconnect/
- Use normal Linux user (non-root) to perform below steps.
- Edit 'Makefile' and append '-fPIC' to 'LDFLAGS'
- make. Ignore errors that show up while running make.
- make install
- Go to '~/.tconn' folder.
- Edit 'tconn.conf' file and specify proper proxy server, port, authentication (if required) and local networks.
- Use
- export LD_PRELOAD=$H<yambe:breadcrumb self="Transconnect">Network related tools|Network related tools</yambe:breadcrumb>OME/.tconn/tconn.so
- in bash shell and then all future applications run from same shell would be able to connect directly via proxy speciffied in configuration file. You can also optionally create '~/.tconn/resolv.conf' and add other nameserver details in it.
Note that this can be used in combination with andriod proxoid application to access Internet directly but local DNS is required to work for resolution. Or we can access websites or applications using IP address instead of hostname.
<yambe:breadcrumb self="Transconnect">Network related tools|Network related tools</yambe:breadcrumb>