I have an Ubuntu 18.04 VPS on a hosting company.
I manage it via web panel and SSH from my Windows 10 client.
I would like to full remote backup my VPS for possible future restore.
How can I do from a Win client ?
Thanks
I have an Ubuntu 18.04 VPS on a hosting company.
I manage it via web panel and SSH from my Windows 10 client.
I would like to full remote backup my VPS for possible future restore.
How can I do from a Win client ?
Thanks
I have a Linux script that allows me to route some traffic through a VPN interface, and other traffic (from different IP) through another interface. This is my script:
echo "ip route del default via 192.168.120.10 dev ppp0;" >> /tmp/firewallscript.sh
echo "ip route add default via 192.168.1.254 dev eth0;" >> /tmp/firewallscript.sh
echo "ip route add table 55 default via 192.168.120.10 dev ppp0;" >> /tmp/firewallscript.sh
echo "iptables -t mangle -I PREROUTING 1 -s 192.168.1.40 -j MARK --set-mark 55;" >> /tmp/firewallscript.sh
echo "iptables -t mangle -I PREROUTING 1 -s 192.168.1.41 -j MARK --set-mark 55;" >> /tmp/firewallscript.sh
echo "iptables -t mangle -I PREROUTING 1 -s 192.168.1.42 -j MARK --set-mark 55;" >> /tmp/firewallscript.sh
echo "ip rule add fwmark 55 table 55;" >> /tmp/firewallscript.sh
Because my VPN's IP changes a lot, I would like to 'parametrize' it. So instead of write this line code:
echo "ip route del default via 192.168.120.10 dev ppp0;" >> /tmp/firewallscript.sh
I need to write something like:
echo "ip route del default via @MyVariableIP dev ppp0;" >> /tmp/firewallscript.sh
In which @MyVariableIP is ppp0's IP address. So my questions are:
Thanks
This is my home network configuration:
Devices/Pc/Smartphone ---> DD-WRT Router ---> Internet Router ---> Internet/World
DD WRT router ip: 192.168.1.1 (default gw is 192.168.1.254)
Internet Router ip: 192.168.1.254
Devices ip going from 192.168.1.2 to 192.168.1.253
I would like to configure the DD WRT flashed router with a PPTP VPN client running. The PPTP VPN virtual device is called ppp0.
then :
When i start VPN client on DD WRT, my route table is
0.0.0.0 via 192.168.1.254 dev eth0
default via 192.168.120.10 dev ppp0 scope link
8.8.8.8 via 192.168.1.254 dev eth0
62.101.93.101 via 192.168.1.254 dev eth0
127.0.0.0/8 dev lo scope link
169.254.0.0/16 dev br0 proto kernel scope link src 169.254.255.1
192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.132
192.168.1.254 via 192.168.1.254 dev eth0
192.168.120.10 dev ppp0 scope link
Now, i think i've to replace
with
so ALL ip go through standard internet gateway (no PPTP vpn)... then add a rule like
to allow ONLY ip 192.168.1.40 to exit using PPTP.
But..it isn't working!
So my final question is:
Thanks a lot!
i need to configure a new router with DD-WRT, in my network, configured as gateway VPN.
My main gateway router is configured with ip Address 192.168.1.254, Subnet 255.255.255.0. It act also as DHCP that release 192.168.1.x address class.
The 2nd router with DD-WRT is configured with ip address 192.168.1.10. Then i configure VPN as described like image 2. The Problem is both pc1 or pc2 if configured with gateway 192.168.1.10 can't go on internet.
What am i missing ?
I would like to know if folder redirection syncs files from a server to the local client or if files are only stored on a server and would be unavailable if a user was disconnected from the network?
For my company, I would like to create a single directory for each user in a server. Each directory must be personal, and I would like to create a desktop link to that directory. For example, in my server SERVER01 I need a simple structure like
users\johnsmith
users\robertgreen
users\johndoe
Each directory must have a limit of 5 gigabytes and must be accessible only to the single user and to the domain administrator. How to do in Active Directory? With a script?
I would like to try windows server 2012 rc using our vmware server 5.0 infrastructure. The problem is that i can't install it because each time, the virtual machine reboot. Is it vmware server 5 ready for win server 2012 ? Thanks
I need to check if our Graphics Office (all using Mac's) are compatibles with our future Windows Server 2012 file server. The oldest OsX version we have is 10.5.8. Thanks
I need to create a VPN through 3 geographical remote offices. I can buy 3 enterprise router with vpn support, or maybe i can create a VPN tunneling using 3 virtual server with (for instance) openvpn installed, and all my company's pc client setted with default gateway to my virtual server (so i can recycle some router i've in house).
My questions are
Can i do this using virtual server without buying apposite hardware ?
If the first question is affermative, Is there some drawbacks using 'only' software vpn ?
Thanks
does exists a tool to monitor how many, and which files are changed day by day ? I would like to 'monitor' how many Mbyte /Gbyte of data changes in my company file server day by day for a 'remote' backup purpose.
In a production environment with 10 mac, in 2 of them, the network card stopped to work. After repairing on of them, again the network card stopped to work, for hardware failure. So, my quetion is: can a switch burn electrically a network card ?
i've 600gb of data's from Mac Users, saved in a disk formatted in HFS+. A lot of folder and file name contain 'final spaces'. I don't know how users inserted them , but the result is that via Samba, a folder named "Customer ABC " (with the final space) become for example "EHFJ~1". In addition, users used special charachters like • and others strange file name.
How to massive rename that files/folder removing final spaces ? Is it possible using a linux / mac os script ?
Thanks
i need to copy all txt files included in a lot of subdirectories into a single directory. Example:
MyDir
Dir1
1.txt
2.txt
Dir2
a.txt
b.txt
e.jpg
Dir3
f.txt
k.txt
MyDestination
How to copy all txt to MyDestination ?
In your opinion, do switches sometimes need a restart?
I'm asking this because today our NAS stopped working properly, and was only fixed when we restarted the switch it was attached to.
i would like to allow my company employee, to connect from outside office to our server using the browser. Does exists some product that emulate a 'virtual web desktop' (like an RDP session, for example) which allow to lunch our company standard software (Office, our ERP ...), browse files and folder ... without the 'limitation' of a web... so again like an RDP ? Thanks in advance
i'm using Cisco ASA WebVPN RDP Plugin to connect to a RDP server. I need to auto execute a program at startup... with standard RDP i simply add: remoteapplicationcmdline=C:\myprgram.exe
How to do with Cisco ASA WebVPN ? What is a suitable parameter to do that ?
Thanks
My company has a VMWare server. We run 6-8 virtual machine. I would like to perform daily backup them in a storage server.
How to do this with VMWare? Is there some "component" I don't know ? Or simply, I need to 'physical' copy vmdk files with a simple Bash script ?
is there a way to "split" the value of string line readed by a batch file ? Suppose to have this text file
192.168.1.2; PC_NAME_1
192.168.1.3; PC_NAME_3
...
I would like to read line 1, and split the value into two variables ... So i can use IP address, and also, Pc Name (for other purpose)... for example:
for /f %%x in (txtfile.txt) do ( ....
Thanks
I would like to sync a directory of an internal hard drive to an external hard drive.
When I write or modify a file on my internal hard drive, automatically the same file would be copied to the external hard drive... and bye bye backup ;)
This would be something like a RAID with an external hard drive.
Is this possible?