Routing – Sharing a VPN Connection Through a LAN Node

I want to share a VPN connection via a node on the same local network.
The diagram below shows my network system.

|-* Router Aa:, ext XXX.XXX.XXX.XXX
    |-* Node Ab: (en0), ppp (ppp0) -| VPN (L2TP)
    |-* Node Ac:                                   | 
LAN B:                                        |
|-* Router Ba:, ext YYY.YYY.YYY.YYY <------------|
    |-* Node Bb:

What I want to do is access the node Bb from the node Ac.
router Aa the routes traffic that is intended
at Node Ab shares internet connections
with a pf a service:

nat on en0 from en0:network to any -> (en0)
nat on ppp0 from en0:network to -> (ppp0)
nat on en0 from ppp0:network to -> (en0)

I can ping a knot Bb from the node Ac, and the towed road shows
as expected:

$ tractroute
traceroute to (, 64 hops max, 52 byte packets
 1 (  1.585 ms  0.355 ms  0.325 ms
 2 (  0.703 ms  0.530 ms  0.545 ms
 3 (  16.429 ms  13.982 ms  13.834 ms

$ ping
PING ( 56 data bytes
Request timeout for icmp_seq 0
64 bytes from icmp_seq=1 ttl=63 time=14.232 ms

Although I can not access the node via SSH and other protocols:

$ ssh -vvv
OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: resolve_canonicalize: hostname is address
debug2: ssh_connect_direct
debug1: Connecting to ( port 22.
debug1: Connection established.
debug1: identity file /Users/daehyun/.ssh/id_rsa type 0
debug1: identity file /Users/daehyun/.ssh/id_rsa-cert type -1
debug1: identity file /Users/daehyun/.ssh/id_dsa type -1
debug1: identity file /Users/daehyun/.ssh/id_dsa-cert type -1
debug1: identity file /Users/daehyun/.ssh/id_ecdsa type -1
debug1: identity file /Users/daehyun/.ssh/id_ecdsa-cert type -1
debug1: identity file /Users/daehyun/.ssh/id_ed25519 type -1
debug1: identity file /Users/daehyun/.ssh/id_ed25519-cert type -1
debug1: identity file /Users/daehyun/.ssh/id_xmss type -1
debug1: identity file /Users/daehyun/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9
ssh_exchange_identification: read: Operation timed out

I do not see any reason why it does not work. Please, help me
solve this problem. Thank you very much in advance.

vpn from site to site – Aws VPN: Can not ping to a local server with an existing active vpn connection

I have an active VPN connection (both VPN tunnels in place) between the AWS virtual private gateway and the client gateway.

Thanks to this, I can access my server on site (server A) from an ec2 instance on the same vpc.

Now, I want to use my existing VPN connection to establish a direct connection to another server (server b) on the on-premises network.

To make this easier, under site at vpn site, under static routes, I added a second line that corresponds to the up address of server B. The first line already contains server A

When I try to ping the second server from the ec2 instance, traceroute reveals that my server is not going through the VPN tunnel (the public address of the VPN tunnel does not exist). Is not the same).

Instead, I get a totally different IP address.

On the contrary, when I try to trace the routing server A, I see that the traffic comes from the VPN tunnel.

How can I connect to server b from my ec2 instance using the same VPN tunnel?

The IP address of server b is already added to the firewall of the control point. Server A has been added previously.

Any help is appreciated.

google chrome – The site unexpectedly closed the connection in HTTPS

I do not hide it. I am a noob on websites.
Say that I tend to look for questions before asking for help.

Today, I was working with Hostgator to get the SSL protocol on my site. They understood it and after the resolution of a conflict, I still had a big problem.
All site images and HTML scripts would not display. The images did not return any errors, but the HTML returned which closed the connection unexpectedly.

I repeated the error by manually editing some of the URLs in HTTPS

Hostgator said that it was a problem concerning only Google Chrome. Someone knows how his fixed?

usability – What is the best way to present to the user a field of 2 categories of connection?

I have a login screen that uses two methods of authentication: email or a numeric code.

So I wonder if I should let the user decide (use a scrollbar or switch …) what type of login authentication he will use and after that, I present the corresponding keyboard when the # 39; user presses the auth field.

The other option would be to have a consolidated field with the ability to authenticate with one of them. One of my main concerns is not being able to pull the numeric keypad to help the user to easily enter numbers when using numeric code to connect.

What do you think?
Thanks for the help!

android – Is there a way to keep the query by intercepting the proxy for at least a minute before the application checks your connection?

I just bypass SSL pinning on an android application, but the problem is that the application does not allow me to play with the request on my interception proxy. That says something like a problem with your network or check your internet connection, it can be slow. He was saying the same thing before I bypass SSL pinning.

My assumption is that the application is coded so that it expects to get a quick response from the server. Since I play with the query on my interception proxy, the server does not respond because the request is still on my proxy and is not sent to the server.

Is there a way to get out?

openvpn – VPN connection on Wireguard

I have a friend that I try to help. He works for a company in his home and connects to an SSTP VPN in order to access his work-related resources. The problem is that due to some privacy restrictions, his company has limited the number of IP addresses that can access the VPN SSTP. I suggested installing a Wireguard server on a Raspberry Pi and allowing it to connect each time to the Wireguard first and then to the SSTP. I've configured the Wireguard and confirmed that his IP address is the same as his home address. However, if he tries to connect to the SSTP, he disconnects shortly after establishing the SSTP connection with the following error:

"An attempt was made to access a socket in a way forbidden by its access permissions."

I was wondering what is the cause of this problem and if setting up an OpenVPN or IPSec tunnel would be a solution?

Connection Connection to the PHP database

I can not get my login screen working The only thing to do is to not enter it if the user does not type the user name and password.
I did the tests directly at the bank and I used the same choice to check what he calls the line.
But when I actually use it in the controller, it does not call the $ user and $ password variables. My last attempt was to use GET instead of POST, but it did not work.

login screen


     - Web2 project



of text


fill in the fields to enter

you do not have any registration?


Forgot your password?


innodb – mysql – Importing a large tablespace: Connection lost during a query

iam trying to get the innodb table containing 1.5 million lines from the ibd file (5.5 GB)

these are the exact steps that I do:

  1. Get a table creation request using the mysqlfrm command

  2. create the table

  3. Modify the table delete tablespace

  4. move the new tablespace into the db directory

  5. Modify the table import tablespace;

and I receive this error after 5 minutes: –

ERROR 2013 (HY000): Connection lost to MySQL server during a request


secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads"

is there a way to import it ??

apache 2.4 – How to configure a permanent VPN connection for the Ubuntu / Apache2 server?

We build a PHP back-end application on an Ubuntu 18.04 server running Apache 2.4.

The application must connect to a secure external server that can only be connected via a VPN. The server is on the command line via SSH only.

I can configure a VPN via a command line like this:

Install OpenConnect:

sudo apt install openconnect

I am not 100% sure if this command is needed:

sudo /sbin/modprobe tun

And then connect to the VPN using OpenConnect:

sudo -b openconnect

To login, I need to enter the following information:

  1. Group name ("Default")
  2. User name
  3. Password
  4. Select a text menu option for two-factor authentication ("1")

Two-factor authentication goes through an app on my phone.

We need to be able to do all this, but the connection must be running constantly in the background so that the PHP application can connect to the secure server via the VPN.

If it helps us, we use the following PHP code to connect:

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, '');
curl_setopt($ch, etc. etc. etc.)
$response = curl_exec($ch);

This approach works in a local development environment (on Ubuntu 18.04).

Networking – Unable to delete / connect to the network connection to my linux shared folder that ended after a network error on Mac OS X 10.15 Catalina

I've connected my mac to my linux shared folder and started to transfer a large file. The connection has been interrupted.

Since logout, I am unable to log in again because it always says connected. It will not let me delete it from the list of places either.

I have completely disabled folder sharing on the Linux box.

I found solutions for older versions of Mac OS in the terminal.

I could not try a solution because I am not an administrator and can not enable / disable sharing settings in System Preferences?