Skip to content

Multiple physical NICs #9

Description

@Aqua1ung

Currently testing BindToInterface on my Ubuntu Kinetic. I have two physical NICs, one wired, and one wireless. Need ssmtp to use the wireless one: BIND_INTERFACE=wlp1s0 DNS_OVERRIDE_IP=8.8.8.8 LD_PRELOAD=./bindToInterface.so /usr/sbin/ssmtp, however, regardless of the value of BIND_INTERFACE, it still uses the wired NIC. (Testing with curl ifconfig.me tells me precisely that.) What am I doing wrong? Should I go to the trouble of messing with the route metrics? Does that not defeat the purpose of using BindToInterface in the first place?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions