Questions about setting up a VPN in OVZ

Source: Internet
Author: User
For more information about how to set up a VPN in OVZ-Linux general technology-Linux technology and application, see the following. I bought a new server and was about to build a firewall. when setting up a VPN, I encountered the following problem: VPN can be used to log on, but I cannot read Internet data through VPN, query/var/log/messages and find an error message like Cannot determine ethernet address for proxy ARP.
Netstat-r indicates that the IP address of the device is correctly allocated, but the network adapter is ppp0, and other network adapters are venet0, iptable-related content is iptables-t nat-a postrouting-s 192.168.5.0/24-o venet0-j SNAT -- to-source (external IP address of the local machine)
Iptables-t nat-a postrouting-s 192.168.5.0/24-o venet0-j MASQUERADE.
After querying the error message, the result is that the mac address of the NIC used by the ip address needs to be specified using the arp command, however, my venet0 Nic does not have a mac (if ifconfig shows that HWaddr is a full 0 address), try to modify the mac and use/sbin/ifconfig venet0 hw ether 00: 01: 02: AB: CD: if the EF command is modified, the error message SIOCSIFHWADDR: Operation not supported is returned.

Help = _ = has been stuck here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.