To be able to execute RSFTP002 program (a FTP connection from SAP) in passive mode we should add the command:
set passive on
Using the great service from Transfer.sh we can easily transfer big files from Linux command line (terminal).
curl --upload-file ./filename https://transfer.sh/filename
Setup VPN between Windows and Linux server using pptpd
Configure pptpd VPN server on the Linux server
install pptpd on the Linux server
zypper in pptpd (for SuSE)
change the line:
add the lines:
add the lines:
# Refuse PAP, CHAP or MS-CHAP connections but accept connections with
# MS-CHAPv2 or MPPE with 128-bit encryption
add the line:
miki * miki123 *
Restart pptpd service:
systemctl restart pptpd
check the syslog:
tail -f /var/log/messeges
Create a VPN connection in Windows 2012
Control Panel → Network and Sharing Center
Click on the “Set up a new connection or network”
Choose “Connect to a workplace” and click “Next”
Click on the “Use my Internet connection (VPN)”
Enter the IP address (or hostname) of the VPN server in the “Internet address” field.
Enter a name in the “Destination name” field.
Again, go to Control Panel → Network and Sharing Center.
Click on the “Change adapter settings” link (in the left pane)
Right click on the “VPN” connection we created and choose “Properties”
In the “Security” tab choose “Allow these protocols” and enable:
CHAP and MS-CHAP v2
Switch to the “Networking” tab and remove the IPv6 option
In addition in the “Networking” tab, select the IPv4 and click on the “Properties” button.
In the “TCP/IP IPv4….” properties pop-up window click on the “Advanced…” button
Uncheck the option “Use default gateway on remote network” and then click on the “OK” button.
Connect to VPN
From the previous screen (“Change adapter settings”) right click on the VPN connection we created and choose “Connect/Disconnect”
The Windows will show a blue “Network” right pane, choose the VPN connection we created
And click on the “Connect” button
Enter the username and the password then click on the “OK” button
If everything is ok, the VPN connection will show “Connected”.
Open a CMD and execute ipconfig you should see a “PPP adapter VPN…” and ip address (for example 192.168.7.100).
Try to ping the server IP address (ping 192.168.7.1)