Skip to content

Error when Using tun0 over vpn access #9

Closed

Description

@ThatTotallyRealMyth

Hi there! I am connected via vpn to an internal network and am trying to use pretender by running with the sudo pretender -i tun0 but in the output i got;

`sudo pretender -i tun0
Pretender by RedTeam Pentesting built from git commit 0dae2f9
Listening on interface: tun0
IPv4 relayed to: 10.10.14.17

00:25:42 [LLMNR] listening via UDP on [ff02::1:3%tun0]:5355
00:25:42 [DNS] listening via TCP on [fe80::683e:33dc:e9c0:2212%tun0]:53
00:25:42 [DNS] listening via UDP on [fe80::683e:33dc:e9c0:2212%tun0]:53
00:25:42 [NetBIOS] listening via UDP on 10.10.15.255:137
00:25:42 [mDNS] listening via UDP on [ff02::fb%tun0]:5353
00:25:42 [mDNS] listening via UDP on 224.0.0.251:5353
00:25:42 [LLMNR] listening via UDP on 224.0.0.252:5355
00:25:42 [DHCPv6] listening via UDP on [ff02::1:2%tun0]:547
00:25:42 [RA] sending router advertisement: ndp: invalid link-layer address: ""
00:25:42 [RA] sending unsolicited router advertisement`

I installed it via cloning the repo and using go build. Could this be an issue with my setup or is there smth i need to change?

If its at all relevant, when I ran mitm6; I had to make a change to mitm6.py on line 57 where I added a psudeo mac address as it was otherwise erroring out. I think its due to tun0 not having a mac address at times?

Activity

  1. rtpt-erikgeiser commented on Oct 20, 2025

    @rtpt-erikgeiser
    Member

    Hi, the router advertisements contain an option with the MAC address and this option cannot be constructed when the MAC is empty. However, it seems like the option is not actually required. I created a PR that omits the option when no MAC is present on the interface.

    Can you try out #10 and let me know if it fixes the issue? I also noticed that your relay IPv6 was not auto-detected, could you test the PR with "-v"?

  2. ThatTotallyRealMyth commented on Oct 21, 2025

    @ThatTotallyRealMyth
    Author

    Hi there; will be sure to check it out later in the day! thanks : )

  3. rtpt-erikgeiser commented on Oct 29, 2025

    @rtpt-erikgeiser
    Member

    Did you find the time to try it, yet? While the PR should fix the issue I'd like to find out why the DNS listener bound to a link-local IPv6 address but no IPv6 relay address was detected. I added a verbose log message in the PR to find out.

  4. rtpt-erikgeiser commented on Nov 25, 2025

    @rtpt-erikgeiser
    Member

    @ThatTotallyRealMyth did you find some time to test it, yet?

  5. rtpt-erikgeiser commented on Apr 23, 2026

    @rtpt-erikgeiser
    Member

    I merged the PR because I think it should help, if it does not, feel free to open the issue.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions