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.

LAN A: 10.44.247.0/24
|-* Router Aa: 10.44.247.1, ext XXX.XXX.XXX.XXX
    |-* Node Ab: 10.44.247.2 (en0), ppp 192.168.100.36 (ppp0) -| VPN (L2TP)
    |-* Node Ac: 10.44.247.3                                   | 
                                                               |
LAN B: 192.168.100.0/24                                        |
|-* Router Ba: 192.168.100.1, ext YYY.YYY.YYY.YYY <------------|
    |-* Node Bb: 192.168.100.6

What I want to do is access the node Bb from the node Ac.
router Aa the routes traffic that is intended 192.168.100.0/24
at 10.44.247.2. 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 192.168.100.0/24 -> (ppp0)
nat on en0 from ppp0:network to 10.44.247.0/24 -> (en0)

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

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

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

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

$ ssh -vvv 192.168.100.6
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 192.168.100.6 is address
debug2: ssh_connect_direct
debug1: Connecting to 192.168.100.6 (192.168.100.6) 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 example.net 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

login.php






    
    
    gov.br - Web2 project
    
    
    

    


    


    
of text

welcome

fill in the fields to enter

you do not have any registration?

Access




Forgot your password?

ControllerLogin.php



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
mon.cnf:

(client)
port=3307
(mysql)
no-beep

(mysqld)
max_allowed_packet=8M
innodb_buffer_pool_size=511M
innodb_log_file_size=500M
innodb_log_buffer_size=800M
net_read_timeout=600
net_write_timeout=600
open_files_limit=100000
skip-grant-tables
port=3307
datadir=D:dbrecover_home_db_homedb
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
log-output=FILE
general-log=0
general_log_file="WIN-36LFCDISVVC.log"
slow-query-log=1
slow_query_log_file="WIN-36LFCDISVVC-slow.log"
long_query_time=10
log-error="WIN-36LFCDISVVC.err"
relay_log="WIN-36LFCDISVVC-relay"
server-id=1
report_port=3307
lower_case_table_names=2
secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads"
max_connections=151
table_open_cache=2000
tmp_table_size=123M
thread_cache_size=10
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=236M
key_buffer_size=8M
read_buffer_size=64K
read_rnd_buffer_size=256K
innodb_flush_log_at_trx_commit=1
innodb_thread_concurrency=9
innodb_autoextend_increment=64
innodb_buffer_pool_instances=8
innodb_concurrency_tickets=5000
innodb_old_blocks_time=1000
innodb_open_files=300
innodb_stats_on_metadata=0
innodb_file_per_table=1
innodb_checksum_algorithm=0
back_log=80
flush_time=0
join_buffer_size=256K
max_connect_errors=100
sort_buffer_size=256K
table_definition_cache=1400
binlog_row_event_max_size=8K
sync_master_info=10000
sync_relay_log=10000
sync_relay_log_info=10000

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 vpn.example.com

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, 'https://secure-server.example.com/api/');
curl_setopt($ch, etc. etc. etc.)
$response = curl_exec($ch);
curl_close($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?