How to create a virtual ethernet interface in arch ?

I have subscribed to a distant VPN service. My computer acts as a VPN client and creates a new interface tun0 each time the VPN is active.
I want to only route the ip traffic from Transmission through VPN
I tried to follow the tutorial from here (sorry it's in french) but this tutorial is for debian-based distribs.
Since the VPN may have a dynamic IP, this tutorial proposes to create a 2nd virtual ethernet interface with a fixed IP adress. iptable is then used to perform NAT translation between the IP of this 2nd virtual ethernet interface and tun0.
With debian-based distributions, the creation the this new virtual ethernet interface is managed by adding the following lines to the file /etc/network/interfaces :
# The secondary loopback network interface
auto lo:1
iface lo:1 inet static
address 192.168.0.1
netmask 255.255.255.255
I'm not sure how to perform this in arch. I read a lot about the ip command and I think that the solution may be something like that :
ip tuntap add dev lo1 mode tap
but I'm not sure and moreover, I don't know how to give a fixed IP adress (i.e. 192.168.0.1) to this new interface
Any help would be really appreciated.

It's just a wild guess, but maybe https://wiki.archlinux.org/index.php/Systemd-networkd would help?

Similar Messages

  • How to creat shortcut for ethernet on desktop in win 8

    how to create shortcut for Ethernet enable and disable
    because i have internet connected with LAN
    and it is has no internet disconnection option

    Hi,
    Here is the command you can write to the batch:
    To disable the interface, you'd then run:
    netsh interface set interface name="Local Area Connection” admin=DISABLED
    To enable the interface, you'd then run:
    netsh interface set interface name=“Local Area Connection” admin=ENABLED
    Note to find your  network interface, you can run
    netsh interface show interface command.
    Thanks!
    Andy Altmann
    TechNet Community Support

  • How to create local virtual web host ex. myserver.local?

    Hi
    I'm sorry but following steps in Yosemite Server help led me to nowhere.
    Could you please explain how to create local virtual web host ex. myserver.local?
    Thanks

    Hi Sergey,
    I assume that you mean virtual desktop storage location, which I don’t think that we can change this setting for an existing collection.
    You can create a new collection, during the creation process, you will be able to select a different storage location for new VMs.
    More information for you:
    Single Image Management for Virtual Desktop Collections in Windows Server 2012
    http://blogs.msdn.com/b/rds/archive/2012/10/29/single-image-management-for-virtual-desktop-collections-in-windows-server-2012.aspx
    Geek of All Trades: VM-Hosted RemoteApps - New Best Practice for Virtual Desktops?
    https://technet.microsoft.com/en-us/magazine/jj554307.aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to create an Virtual resource Adapter in SUN IDM 7.1?

    Hi,
    Can anyone know how to create an Virtual resource Adapter in SUN IDM 7.1?
    Regards
    Damodar

    Hi Dinesh,
    Try using waveset.adminRoles
    Thanks

  • How to create a virtual directory using EPG

    Hi,
    Can anyone tell me how to create a virtual directory in the EPG that points to a physical directory in the database server?
    Thanks,
    Andrew.

    You can create an Oracle directory that points to an operating system directory in the database product... Does that help?
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How to create a Virtual Path ??

    I want to know how to create a Virtual Path in My Application !!!
    that is HTTP link that refer to existing folder in the file system
    thanks

    Alias can never be mount, but the virtual drive I want to create must be able to mount and unmount.
    Desktop having both original and virtual drive.
    My system is booted from 'Snow leopard' and I've an another drive, name 'Disk Testing' so by using a software I create the virtual drivre of 'Disk Testing' as you can see in the image. Both the drives are identical to each other and both are able to mount and unmount, they are having same data and attributes.
    So I want to create exactly this kind of virtual drive by using any apple script or command.i.e without using any software.

  • How to create a virtual drive of a non bootable drive ?

    How to create a virtual drive of a non bootable drive ?
    through which we can see the preview of the drive without clicking on the original drive.

    Alias can never be mount, but the virtual drive I want to create must be able to mount and unmount.
    Desktop having both original and virtual drive.
    My system is booted from 'Snow leopard' and I've an another drive, name 'Disk Testing' so by using a software I create the virtual drivre of 'Disk Testing' as you can see in the image. Both the drives are identical to each other and both are able to mount and unmount, they are having same data and attributes.
    So I want to create exactly this kind of virtual drive by using any apple script or command.i.e without using any software.

  • Network Gurus: How to create a "virtual" network adapter?

    We have an older Xserve (G4) with dual ethernet ports, running OS X Server 10.4 and FileMaker Server 5.5. One of the ethernet ports is connected to an internal network (behind the firewall), the other to an external network (in front of the firewall). There are appropriate IP addresses on each port. Thing is, I need FileMaker Server to be able to serve databases on BOTH network ports and it doesn’t seem to be capable. There’s a “preferred IP address” setting which lets me select the internal or external addresses, but not both.
    Is there a way to create a "virtual" network adapter that I can point FileMaker Server to, but have all traffic from both ethernet ports go through this "virtual" adapter? Sort of like a 'software router'?

    IMHO, a far, far better solution would be to turn on the VPN server built-into your Mac OS X Server.
    That way remote users can connect to the VPN (automatically, even) and get assigned an IP address in the internal network. You gain a high degree of security knowing that only known, trusted external users can access your database. If you do configure Filemaker to listed on your public interface you have no practical way of preventing rogue users from accessing your data.
    Since your server already has the VPN server installed, and any modern (or even semi-modern) client should be able to connect to it, I wouldn't look any further.

  • How to create a Virtual provider in BI 7.0?

    Hi friends!
    I need create a virtualprovider (with SCM source system), but I find the option 'Create Virtual Provider'  in the context menu only when the infosource is 3.x
    How can I do it in 7.x?
    Thanks in advance!
    Edited by: SSap on Oct 28, 2009 9:11 PM

    1.How can I do it in 7.x?
    In BI7, just right click on any infoarea, and choose create 'virtual provider'. For direct access, you choose Virtual Provider with 'direct access'. There's an option to use the old R/3 infosource. What this means is that you can create an infosource with transfer rules and such, and when you create the virtual infoprovider, it will use the structure in the infosource automatically and the flow of data is automatically link R/3 with the transfer rules and the virtual infoprovider. Note that no update rules exist with this kind of setup.
    In BI7 you have a more flexible approach in that you can create a transformation to configure the 'transfer logic' of your virtual infoprovideralong with start routine, end routine or any other transformation technique visible with using a transformation rule.
    But using BI7 setup, you need to create a sort of 'pseudo' DTP, which doesn't actually do anything, meaning you do not 'execute' it to start a data transfer.
    After all is done, you need to right click on the virtual infoprovider and choose 'Activate Direct Access'. If you use Infosource, go to the Infosource tab, and choose the infosource. If you're using BI7 setup, choose the DTP related to the transformation and save it.
    a virtual infoprovider with direct access is really slow if you have a lot of records transmitting between the remote function calls.
    Hope this helps
    Manjula

  • How to create a method in Interface Controller

    Hi Guys,
            I am working with webdynpro ABAP sample application "Component usage" . There i got a issue like i am not able to create a method in Interface controller. There i am not able to edit anything. Can anybody please let me know how to do that.
                Thanks In Advance
    Regards
    Ravikumar

    Hi Ravi,
              Check This
    If one Web Dynpro component (parent component) needs access to another Web
    Dynpro component (child component) the parent component can declare the use
    of the child component. A specific component usage instance is then created and
    the parent component accesses the functionality of the child component via its
    component interface controller.
    The only parts of a Web Dynpro component that are visible to the user, are the
    interface controller and the interface view(s).
    All Web Dynpro components have only one interface controller. Via the
    interface controller, data, methods, and event handlers can be exposed to
    other components.
    Interface views represent the visual interface of a Web Dynpro component.
    There is a one-to-one relationship between a Window and an interface view.
    Each time a window is defined, a related interface view is automatically
    generated, which makes the window accessible from outside the component.
    The interface view only exposes those inbound and outbound plugs to the
    component user that have the interface property checked. Methods and
    context data of the window are not accessible via the related interface view.
    If the component has no views, there is no need to have Windows. In this
    case, the component will not implement an interface view. Such components
    having no visual interface are known as faceless components.
    Regards
    Sarath

  • How to create object for a interface (or) how to use ITextModel Interface

    Hi,
    I am new to vc++ and indesign, i am using windows xp as OS and Indesign CS3 as version, now i want to know how to create an object for the ITextModel Interface (or) how to use the ITextModel interface, for getting the selected text and to manipulate the content, for this i tried myself to the best for more than a week,
    but i not get any solution or any idea to do it, so i post this scrap, if any one knows kindly help me immediately, if u want any more details kindly reply me i am ready to give..
    Regards,
    ram

    Hi, Ram,
    as Jongware already has explained in a previous thread, this is the scripting forum, the SDK forum is next door.
    Besides, your question has already been answered over there in SDK forum - with a reference to an existing example, including documented source. There is also plenty more documentation (780 pages alone in the programming guide) and other working examples.
    The brief response was a perfect match to the vague, general scope of the question. If you want more details, be more specific yourself. Do not just touch such major topics as selection, text, object architecture in one sentence to expect a silver bullet. Instead, stick to one detail, find and read the relevant examples and documentation (did I mention the programming guide?) yourself e.g. using keyword search. Quote your code where you're stuck.
    Being new to both VC++ and InDesign is an explanation but no excuse. IMO, same goes for "using windows xp as OS". All together are bad starting conditions if you intend to write a plugin. Even a seasoned C++ programmer with some years of experience in publishing quirks will easily require months, so don't become impatient after just a week.
    If you need quick results and have a programming background such as a recent Java101, reconsider scripting (this forum). It can bring you amazingly far and you'll learn InDesign through a simplified object model. Same principles apply - there is plenty documentation and a good choice of examples.
    Regards,
    Dirk

  • How to create azure virtual network by programming

    Hi everyone
    i want to create azure virtual network by programming
    Doese anyone know how?
    My way is create xml network config
    and then call powershell
    Set-AzureVNetConfig-ConfigurationPath
    But if on manage portal is exist any network
    It is impossible to create new azure virtual network
    Thank in advance,
    QP

    Hello pham van quyen,
    I am assuming that you are downloading the XML file from the portal and then editing it before you create the Virtual Network. You should be able to create a virtual network by using the set-azureVNETconfig command. But if you are connecting a gateway, please
    use the Set-AzureVNetGateway.
    I would suggest you to follow this tutorial that will give you information on Windows Azure Network using PowerShell:
    http://blogs.technet.com/b/kevinremde/archive/2013/01/19/create-a-windows-azure-network-using-powershell-31-days-of-servers-in-the-cloud-part-19-of-31.aspx
    If you are having issues with this, please let me know the related errors or failures.
    Thanks,
    Syed Irfan Hussain

  • How to create a Virtual Tour from a panorama

    Hey All,
    I'm trying to create a Virtual Tour from an already stitched 360 Panoramic interior photo (taken with a fish eye lens).
    Are there any programs throughout the Adobe Suite/Cloud  that will allow me to generate a virtual tour from this image, either automatically or manually?
    Or is it best to look into other software(s)?

    There are web services like Panoramio for that. I'm sure you could find some Flash plug-ins as well or some canned JavaScript stuff.
    Mylenium

  • How to create a Virtual part list for the particular assembly.

    Dear Gurus,
                        For our single purchasing order of particular assembly, we have multiple suppliers who can contribute in that Assembly. For example The purchasing order of Assembly X is given to supplier A and in that some part should be also ordered which should be delivered to supplier A from supplier B. In this situation, I want to create a virtual part list of the assembly which can be used to order both of this supplier seperately. So I do not forget to make purchasing order to the supplier B.
                       Thanks in advance.
    Regards
    Mayur

    Dear Mayur,
    One of option for you is: using document draft as the template for the part list of supplier B.  Then create user alert whenever the supplier A need to be ordered.
    Thanks,
    Gordon

  • How to create a "virtual' album using pointers

    Suppose I've imported a CD into iTunes. Later, I get the artist's "Greatest Hits" CD with some of the same songs. Rather than waste space in iTunes and on the iPod, I'd like to:
    1) Exclude the duplicates when importing the "Greatest Hits" CD;
    2) "Add" the excluded songs to the "Greatest Hits" (in iTunes) using pointers to the songs already imported from the first CD.
    I have an album that is not available on CD and this would let me create a "virtual" version of it - as well as allowing me to listen to "Greatest Hits 1", "... 2" or "... 3".

    iTunes does support linking a song to multiple albums. Unfortunately (at least for now) if a song is on more than one Album/CD title then you have to import a file from each one that has that album title. If this is something you'd like to see introduced in some future version of iTunes you can send feedback/feature requests directly to Apple at this link: Apple Product Feedback

Maybe you are looking for

  • Dac fails when trying to load a Table in BI Apps 7964

    Hi Experts, When i am trying to run the ETL Load through DAC, one of the the workflow is failing ie SDE_ORA_APTransactionFact_Distributions_Full When i look into the session log i see the below error... i went through this post also http://www.orawor

  • I'm installing Netweaver2004s ,I have problem

    I got errors below while installing Sap NetWeaver2004s. How can I solve the problem? Thanks. ERROR 2007-04-03 11:58:43 CJS-00030 Assertion failed: lsnrctl: Parameter dbHome has to be a valid ORACLE_HOME. ERROR 2007-04-03 11:58:43 MUT-03025 Caught ESA

  • Usage of aggregation operators not supported by OWB

    I want to use the WSUM operator for aggregation in an AW cube. Since WSUM is not supported by OWB I updated the corresponding AGGMAP after deploying the cube to the AW. But whenever I execute the cube load mappig the AGGMAP is overwritten to what has

  • New fixed value in standard domain BLCKD

    Hello Experts, I want to add a new block id in a purchase requisition. I saw in the forum that there is no customizing for that and that I need to add the new block ID's directly in the domain BLCKD. I made this and add a field "2-Blocked by Purchasi

  • To enable Axis adapter framework

    Hi All , We are going to use Axis adapter framework in AAR PI landscape(X6* track). As we understood, this is SAP provided by default with PI but there are some more additional JARs need to be installed to enable this functionality. Do we need downti