Running HMA VPN on remote server [closed] - amazon-ec2

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am trying to setup HMA VPN my remote server on Amazon EC2 machine (Ubunutu 12.04.02), so that the ip of the outgoing traffic changes.
But as soon as the HMA script start vpn connection, SSH connection from my local machine to the server gets lost.
I think the problem lies with VPN client locking the network adapter so that SSH server is no longer able to listen to the same port as it was listening to earlier.
Please suggest what might be causing this problem?

Related

What is the recommended port for MQTT over Websocket [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
As in the title:
What is the recommended port for MQTT over Websocket?
There isn't a registered port for MQTT over Websockets as there is for native MQTT.
But as with all Websocket based transports the default ports should probably match http/https (80/443) since these are the underlying transports that are used to bootstrap a Websocket connection. These ports are most likely to be open by default on any firewall (at least for outbound connections) and also the ports likely to be transparently proxied if needed.

Configure ShadowSocks client on OpenWrt [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How do I connect from OpenWrt with ShadowSocks to my server and redirect all traffic through that connection?
I have a ShadowSocks server running on my server. Its working (as tested with my laptop).
Now I want to configure this on my GL-MT300A with OpenWrt. There is the ShadowSocks section in the OpenWrt config, but I don't know what to setup for Transparent Proxy, SOCKS5 Proxy and Port Forward.
I did add my ShadowSocks server under "Servers Manage", with the details I would otherwise have in my shadowconfig-client.json file.
All services (Transparent Proxy, SOCKS5 Proxy and Port Forward) are listed above as NOT RUNNING (see image). How do I start those or do I need those for my ShadowSocks client anyways?
I contacted support, and there seems to be an issue with MT300x models. You solve this by running the following from ssh on your router:
ln -s /usr/lib/libsodium.so.13.1.0 /usr/lib/libsodium.so.18

Why is "stackoverflow" maintaining an active connection [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I found this by pure accident and a little curious as to why is there 2 active connections, on 2 different ports present between my system and stackoverflow. I was doing something else with the network on my system, and when I used just netstat below is what I got.
I thought it must the number of open browser tabs or stackoverflow webpages that are open, but even when I close them and study after like 10 mins, these 2 still reflect. Even though they are in the TIME_WAIT which upon research I came to know, that my system has closed the connection and is waiting for remaining packets to flush out,but I still dont have a clue about these connections.
Any ideas?
Note the "state" on those connections; TIME_WAIT means that the connection is closed but that it hasn't aged out of the connection table yet. It's also not at all uncommon for those connections to stay ESTABLISHED, since browsers will generally use HTTP Keep-Alive to avoid having to open new connections for every page request.
StackOverflow isn't 'maintaining' anything more than your browser is. Those connections are fully closed. The port is in TIME_WAIT state, which only lasts a couple of minutes after the final close. However there can be idle connections in ESTABLISHED state due to HTTP keep-alive.

Fiddler2 speeds up file copy (via HTTPS) between a Client and WebServer [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I was trying to install Fiddler2 to capture some HTTPS traffic in order to troubleshoot a slow file upload speed issue between client(windows 7) to a web server(Windows 2008 R2).
One strange thing I have noticed was the file uploading process became super fast after I have fiddler up and running. Could it because the fiddler started acting as a proxy server and using port 8888?
Why is it when I start using Fiddler2 the upload process speeds up?
Is this a WebDav request? Or a file upload through a traditional HTML form?
For WebDAV:
Most likely, this is due to a bug in the Microsoft WebDAV implementation, whereby they waste a bunch of time trying to "Automatically Detect" your proxy server over and over again via WPAD. This can be very slow in an environment without such a proxy server.
Fiddler caches the result of a proxy detection once at startup and sets itself as the system proxy, which prevents the WebDAV stack from incorrectly rerunning the WPAD algorithm over and over.
For a HTML Form:
Typically, this would mean that the client's buffer sizes were poorly chosen (IE6 had this problem) and thus the client isn't making good use of the network. Fiddler uses better buffer sizes (32k or 64k, IIRC) and hence makes better use of the network, reducing transfer times. Most modern browsers use buffer sizes chosen to optimize performance.

Can I consider my LAN server as forward proxy? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In a LAN network, my machine is connected to the LAN server and my machine is connected to internet through LAN server. So, can I consider the LAN server as forward proxy?
Not typically.
If all traffic passes through the 'LAN server', you can consider the LAN server a gateway and a NAT-router.
If only HTTP/HTTPS/FTP traffic passes through the LAN server you might indeed be using an application proxy
If you have set up squid, for example, on your server and use it to get http content from the internet, then yes, the squid is a forwarding proxy service. If your server is running some DNS server to forward your queries to upstream DNS server (even such a small as dnsmasq), then yes, this DNS server is a forwarding proxy service.

Resources